|
Post by Bram Bos on Apr 16, 2010 20:04:35 GMT
Hi Michael,
I'm working on an application that uses ASIO, and - among some other ASIO drivers - I'm also testing with ASIO4ALL 2.9.
When I'm querying my input and output channels, something strange happens: the input sample types are reported correctly, but the output sample types report whatever was used before ASIO4ALL was opened (i.e. 0 if I'm directly opening ASIO4ALL, or whatever was used by the previous driver).
Is it typical that input and output channels use the same sampleformat?
I'm using A4A 2.9 on a Vista 32 system, with my Dell laptop's built-in audio hardware (unspecified)
Thanks!
|
|
|
Post by Michael Tippach on Apr 21, 2010 14:12:26 GMT
I double checked the code and there is no execution path that would make this possible.
ASIOgetChannelInfo() would always return ASIOSTInt32Lsb unconditionally. It only would not do this for non-existent channels. Are you sure the call to ASIOgetChannelInfo() has actually succeeded whenever the sample type is not filled in?
|
|
|
Post by Bram Bos on Apr 24, 2010 9:47:12 GMT
Hi Michael,
Thanks so much for taking the time to look into this. You are indeed right. My implementation of ASIOgetChannelInfo() turned out to be flawed.
Apparently A4A is a bit stricter in its implementation of the ASIO standards than the other ASIO drivers I've tested my application with. A4A was the only one picking up my sloppy coding.
My apologies for thinking this was a bug on your side!
Cheers, Bram
|
|