-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How DoPDecoder works with ASIO to output to DAC? #56
Comments
ASIO output only works with certain exaSound DACs and requires special drivers. You should be able to use a |
I modify the codes in AudioPlayer.cpp for using DoPDecoder when playing .dsf audio file:
I connect my iPhone to Sony PHA-3 DAC through a lightning to micro-USB connector, when playing a dsf audio, the DSD indicator in PHA-3 not turn light which means no DoP data sent to PHA-3. |
I don't see a problem with your code. Is it possible the iPhone output isn't bit perfect? Can you try on a desktop Mac to see if it works properly? |
It looks like sample rate conversion is being performed from 176.4 to 44.1 which would explain why DoP isn't working correctly because the bit pattern would be altered. Please try setting the DAC's sample rate to match the DSF file's sample rate. |
My DAC is not able to change the sample rate, is it possible to modify the SFBAudioEngine to remain the DSD audio file's format(include sale rate) when playing dsf audio in DoP mode(say, for 2.8224Mhz DSD , when wrapped as DoP to PCM, is 176400Hz )? |
|
solve the problem by :
this set the preferred sample rate of input and output device to 176400 |
@pzs7602 you run you code on osx but as I know AVAduioSession seem only available on the iOS? how did [session setPreferredSampleRate:176400 error:&err] work? |
I have a Sony PHA-3 DAC supporting DoP input, I know I can use DoPDecoder with ASIO output to produce DoP data and send them to PHA-3, but how DoPDecoder be used with ASIO ? Please help me, Thanks!
The text was updated successfully, but these errors were encountered: