×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

multichannel playback

multichannel playback

multichannel playback

(OP)
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.

RE: multichannel playback

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close