Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multichannel playback

Status
Not open for further replies.

2405

Programmer
Feb 14, 2005
1
UA
For multichannel playback organization I use WAVEFORMATEXTENSIBLE structure. But when calling CreateSoundBuffer function
for multichannel secondary buffer creation, the function returns error "E_INVALIDARG".

What can be possible causes of this error?

System Description:
1. OS: Windows 2000;
2. Audiosystem: ADI AD1985 Sound MAX 6 channel CODEC;
3. DirectX 9.0;
4. Microsoft DirectX 9.0 SDK Summer 2004.
 
for WAVEFORMATEXTENSIBLE set wfFormat.Format.cbSize=22. I tried this and I am not getting INVALIDARG error. But on my system, I am getting only 4 channel sound. If it is working for you can you please share the sample code.

Thanks
Deekshit M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top