Error opening Primary Sound Capture Driver :"Bad format


#1

Hi ,everyone
I have a device initialization problem. the error is “bad format”. I use MS vista OS.
when I step into the error, I found the error happened in
juce_win32_DirectSound.cpp file.
the line happened error is ln796.
hr = pDirectSoundCapture->CreateCaptureBuffer();
hr = 0x88780064.
I can not step into the CreateCaptureBuffer();It seems this method can not be stepped into.

any ideas for this problem?
email: pluginstarter@gmail.com


#2

Seems a bit odd. Are you using an unusual soundcard?


#3

Yes, I use mbox2 audio device and it has own driver.
Is any clue about this?

thank you in advance.


#4

ah, digidesign - their drivers do tend to be… unusual… My mbox works ok though.

Not sure what to suggest… If opening the input device is failing, does it work if you just open it for output, without any input channels?


#5

thank you for your reply.
Yes, I think the digidesign driver has some problem. do you know the right driver
I can use Mbox2 in Vista?

Best
Happy new year!

leon


#6

Well, there’s no other driver, though presumably if you use it via asio it’ll be ok.