On 6/4/2012 3:02 μμ, adel...@freemail.gr wrote:
> On 6/4/2012 1:52 μμ, Jurgen Kramer wrote:
>> The attached patch fixes playback for DSD-over-USB. Without this patch
>> MPD uses a frame size of 2 (stereo files) while the actual needed frame
>> size for the used output sample format is 8 (sample formats S24_P32 and
>> S32).
>>
>> Maybe this is not the proper/complete solution but will at least allow
>> users to test the current DSD-over-USB code and hopefully provides some
>> clues for the actual fixes (if needed).
>> Below some more background info.
>>
>> ---
>>    src/output/alsa_output_plugin.c |    7 ++++++-
>>    1 files changed, 6 insertions(+), 1 deletions(-)
>>
>> Jurgen
>>
>>
>> Background:
>> For SAMPLE_FORMAT_DSD in- and out frame sizes are 2 (stereo files). When
>> using DSD2PCM the sample format is set to SAMPLE_FORMAT_FLOAT which has
>> a frame sizes of 8. For DSD-over-USB the sample format remains on
>> SAMPLE_FORMAT_DSD with a frame size of 2 which results in too little
>> data (4x) being sent to the receiving audio device.
>>
>
> I just ran a quick test and DSD over USB playback is working fine with
> this patch on my XMOS board.
>
> Thanks.

There seems to be an issue with 24bit wav files though. Lots of noise 
during playback.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to