hukka
New Member
Posts: 2
|
Post by hukka on Jan 3, 2005 20:29:59 GMT
Hi, I'm having a rather serious problem with ASIO4All. I am coding an audio application and I use a third-party audio library (BassASIO) to handle ASIO output. There seems to be some sort of incompability between said library and ASIO4All - all audio is played at twice the requested sample rate.
Quote from the author of BassASIO: That's strange. I've checked it, and ASIO4All does say that the output rate is 44100hz, but it obviously isn't. I'm not sure why.
This problem has been confirmed on multiple different PCs running ASIO4All with BassASIO. BassASIO does work fine with other ASIO drivers such as the kX project driver. ASIO4All also works fine with ASIO compatible software that does not use BassASIO.
Any ideas? Provided it's not a bug within ASIO4All, do you have any ideas what might be wrong with BassASIO (seeing as said library does work properly with other ASIO drivers)?
|
|
|
Post by Michael Tippach on Jan 4, 2005 1:00:03 GMT
Could you please double check with ASIO4ALL and e.g. an on-board sound device that is not physically capable of 88,2kHz sample rate.
Another test would involve the ASIO driver of a 24 bit device, such that the data format is not Int16LSB.
My guess is that you will see the effect here as well.
A typical reason for this a sample size mismatch, i.e. a buffer that expects samples padded to 32 bits filled with 16 bit samples will cause this effect, because only every other sample will be played. If the ASIO driver returns Int16LSB as the sample format, this effect will not occur.
ASIO4ALL always returns Int32LSB as the sample format. I haven't found any reference to BassASIO in Google. Thus, it is a little hard to tell where exactly things may go wrong.
|
|
hukka
New Member
Posts: 2
|
Post by hukka on Jan 4, 2005 15:05:43 GMT
Sample size mismatch is the reason for this indeed. Thanks!
|
|