|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
81.207.133.35
Hi all,
The number of times I've seeking for help like this can be counted on one hand I guess, but this time I am kind of desperate;
For the time XXHighEnd uses WASAPI Exclusive Mode (which would be the beginning of 2007) I always had problems with users using something like a Benchmark and an Off-Ramp. What they have in common is accepting 24 bit input only, over USB. I didn't know who or what to blame, and the problem is still there. However, since more players exist now, it appears to me that e.g. Foobar is just capable of it, as long as it's told to output in 24 bits. And, as far as I can tell this is just Exclusive Mode ...
Right now I have an Off-Ramp here, sent to me by a kind user. And well, for the life of me I can't get it to work.
The driver tells Vista it's capable of 24/44100, 24/48000 and 24/96000, and although for Shared Mode this will work, for Exclusive Mode it won't. "Unsupported format".
For the techies hopefully reading this, I have tried more combinations regarding blockalign, avg bytes per second, sampling rate, bits per sample - than officially exist, and I guess I'm at the end of my creativity.
I must be hopelessly overlooking something.
The driver says "Loudspeakers Empirical 1.1", and I'm sure Steve will confirm this is allright. What might not be right is the fact that no 16 bit acceptance is there, which I think his website states. Even if not, it shouldn't be a problem, but maybe it indicates something to someone.
I know from experience that when the device is in use, in some circumstances WASAPI may report the "Unsupported Format" thing, so maybe the problem is in this area somewhere. If this would be the cause, I must be doing it myself in the software, because Foobar on the same PC isn't bugged by it.
16 bit USB no problem, and non-USB connections no problem either for all the thinkable combinations.
Btw, Vista SP1.
Any help is much appreciated by me, and by quite some users.
Peter
Follow Ups:
Thanks to Gordon's post I indeed could narrow down things so much that after some thinkering I got it working in 5 minutes now.
In the end it was about some trick I applied to get some bit/samplerates combinations working which otherwise wouldn't, thinking that this appliance was unrelated to the actual initializing of the device. Without knowing it, this forced 32 bit padding to be accepted only, and while I never could prove that 24 bit non-padding devices existed, I am now fairly sure that all devices accepting 24 bits only (meaning no 16) behave like this. I don't know the analogy, but this includes near all the "laptop HD Audio" devices for SPDIF passthrough.
Gordon thanks, everybody thanks.
Peter
Peter, anytime... nt
J. Gordon Rankin
Good for you Peter!! I know this has been a head banger for a long time now. I remember one poster and you worked on it for way too long hehe.
Vista64prem http://www.phasure.com/index.php?topic=352.msg4021#msg4021 >WAV/CUE files on HDDs via fW400;[XXHE player Q1 4 Q2 26 Q3 26 Q4 0 Q5 0 processor appt.#3;player priority normal;thread priority realtime];>pci FW800>FireFace800>StelloDAC
What was the trick?
Peter,
In the enumeration for these devices the output looks like this to Vista:
Audio Class Specific Audio Data Format
Audio Stream Format Type Desc.
Format Type: 1 PCM
Number Of Channels: 2 STEREO
Sub Frame Size: 3
Bit Resolution: 24
Sample Frequency Type: 0x04 (Discrete)
Sample Frequency: 44100 Hz
Sample Frequency: 48000 Hz
Sample Frequency: 88200 Hz
Sample Frequency: 96000 Hz
~~~~~~~
The problem is there is a small bug in between the USB Audio device driver and the Control Panel which inhibits the 88.2. This will be fixed when 7 is released. I sent one of my dacs and the guys found that problem.
I also sent a Proton to J River they had the same problem you are experiencing. WASAPI worked but exclusive mode did not. They found the problem pretty quickly.
Now all of these CEntrance dacs and mine as well say they are 24 bits. What should happen is if you send 16 bit data it should pad that to 24 bits with zero and then you are done.
It does require that you set the 24 bit option in Foobar/WASAPI for this to work.
I did not ask J River about 88.2 in exclusive mode but I think I remember getting an email saying that it worked. On the Proton is led's indicating the system Sampling Rate set my the USB Audio driver.
Thanks
Gordon
J. Gordon Rankin
Thank you Gordon.
Sadly, I tried the padding to 24 bits as well (or native 24 bit files for that matter *not* padded to 32), but no dice.
That a DAC like yours eats normal PCM already is important to know, since it is/was one of the not-sure parameters.
The 88.2 (and 176.4) thing is known to me, but for Exclusive use this is no problem. These (missing) settings only count for Shared mode and Exclusive just ignores that. I could set any bit depth and sample rate for that matter (incl. 384 24 bit float) as long as it's consistent. But I can't get the d*mn 24 bit USB to work ...
I'll concentrate on 24 bits (not padded to 32) for now. Wasn't sure about that either.
Thanks again,
Peter
Appears that it's solved the same way Soundchekk mentions - padding to 32 bits (search for "padded" in text). Not sure how useful it's for you, but here it goes anyway.
Thanks a lot, but no, that's not it. The problems mentioned in that thread are more general, and, say, problems which every new WASAPI implementation will encounter. I do the padding by standard (if the DAC has more than 16 bits).
This is just USB 24 bit specific ... somehow ...
Hi Peter.One more. (Now a bit more serious. Hehehe)
I had also some trouble handling 24 bit formats under Linux.
It had trouble to combine different applications, Alsa and the devices.It turned out that there were different 24bit formats (3bytes and 4 bytes)
used, causing all the trouble.In the end I used 32bit format throughout the chain. Alsa padded it finally to 24bit towards the device.
Edits: 07/11/09
Yes, and although I never found a device actually using 24 bits unpadded, this one doesn't do that either (at least not that Vista tells me).
Maybe Foobar uses WaveRT, which I don't ... (or not that I'm aware of :-).
Thanks.
My hint. Wrong OS.
Use Linux or even better ( from a commercial perspective) OSX.
As you've seen you can make quite some money by supplying nice sounding apps for OSX.
Cheers
I'm sure Peter, developer who spent several years improving playback under Vista, will greatly appreciate your suggestion.
I'm fine. Not that I'm helped now, but I drank a couple of beers with soundchekk and we both know the context. We both strive for the same, and as long.
Count cics in.
check out the vid of Dr Channard Porn here www.youtube.com/oldgayseacaptain :) :)
I recommend, AMPUTATION!! AHAHAHAHAHAHHAA!
Foobar is the only one that works using the Benchmark USB(maybe they are willing to trade?).PlayWasapi won't work with Benchmark, likewise J River
Maybe buffersize? Foobar and WASAPI works but not if the buffer is to large.Maybe Vista SP2?
The Well Tempered Computer
Edits: 07/11/09
Great link to JRIVER. I didn't know it's that bad. (HeHe)
I really like the post of Alex B. ( I think he is one of the guys in charge, isn't he), where he
very seriously responds to the comment "24bit is not working!" --- "Guys, with 16bits you got 96db dynamic range, that should be more then sufficient"
Hey, thanks for that link. The (all over) talk about the buffer size is likely to be related since this is different for USB devices opposed to SPDIF anyway. However, I already played with that too, to no avail. It could be very specific though (like one single setting doing the job) and there are so many settings to try ... *if* that is it in the first place (the buffer is sized in samples, although it can be expressed in 1/100 of a ms).
Links like these are very useful though. As is the information what does and does not work where. Keep that coming !
IIRC Foobar had this going for SP1 already (as told by a user back then; something like the beginning of 2009).
Thanks.
Besides, get SP2, it doesn't cause any more problems (fresh install of vista x32 with sp2 included).
I dont have any usb device to try, otherwise, I have W7 build 7264 ready for testing (i think it improved most of the issues of the RC).
_
"The midrange is where we live." - Paul Klipsch
Post a Followup:
FAQ |
Post a Message! |
Forgot Password? |
|
||||||||||||||
|
This post is made possible by the generous support of people like you and our sponsors: