Re: [Musicpd-dev-team] [PATCH/RFC] Fix DSD-over-USB playback

2012-04-06 Thread adel...@freemail.gr
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.

--
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


Re: [Musicpd-dev-team] DSD over USB

2012-03-24 Thread adel...@freemail.gr
On 24/3/2012 7:49 μμ, Jurgen Kramer wrote:
 On Sat, 2012-03-24 at 13:16 -0400, Jesus R wrote:
 Thanks for that tip! I have it working now with plughw as well...

 I just did a quick addition (proof-of-concept) to pcm_dsd_usb.c to let
 it support version 1 of the dsd-over-usb spec (0x05 and 0xFA markers)
 and it works :-). This means support for v1 will be a fairly easy
 addition. We only need a way to select between v1 en pre-v1.

 Jurgen

As v1.0 supersedes previous versions, I fail to see a reason to support 
the old spec.



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] DSD over USB

2012-03-23 Thread adel...@freemail.gr
I had to use plughw to get past that error.

On 23/3/2012 1:40 μμ, Jurgen Kramer wrote:
 On Thu, 2012-03-22 at 17:23 +0100, Jurgen Kramer wrote:

 I took a quick look at the code, it seems it supports the pre-1.0
 version of the standard (0xAA markers). I'll give it a test tomorow. My
 DAC supports both version 1.0 and pre-1.0.

 Jurgen

 OK I just test the new code, unfortunately it does not work for me
 either. It fails to setup ALSA. I tried both through the firewire driver
 and through a SOtM usb-to-spdif converter.

 Mytek DAC through firewire snd driver:
 Mar 23 12:28 : output: Failed to open DAC [alsa]: Failed to configure
 DSD-over-USB on ALSA device hw:1,0

 Through SOtM usb-to-spdif converter:
 Mar 23 12:32 : output: Failed to open sotm [alsa]: Failed to configure
 DSD-over-USB on ALSA device iec958:CARD=S20,DEV=0

 @Max can you shed some light on this? Are there any configuration
 options I need to try/add?

 My mpd.conf enty for the SOtM is:

 # Entry for SOtM dX-USB HD - USB to SPDIF/Toslink/AES-EBU

 audio_output {
  typealsa
  namesotm
  device  iec958:CARD=S20,DEV=0
  use_mmapno
  mixer_type  disabled
  dsd_usb yes
 }

 I have also tried with use_mmap yes.

 With my old code is opens the ALSA device with:
 Mar 23 12:38 : output: opened plugin=alsa name=sotm
 audio_format=176400:32:2

 Mar 23 12:40 : output: opened plugin=alsa name=DAC
 audio_format=176400:32:2

 These work for my installation.



 BTW would it be doable to enable dsd_usb for pipe output? That is really
 handy for debugging output of the decoder.

 Jurgen




--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] DSD over USB

2012-03-22 Thread adel...@freemail.gr
Hi ,

I've been testing the latest git with DSD over USB support this morning.

I'm using an XMOS UAC2 board with modified firmware supporting v1.0 of 
the dCS suggested standard.

https://www.xcore.com/projects/dsd-audio-over-usb

OS is ARM linux.

So far I haven't gotten it to work.

I noticed that you make mention of:
http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf
Have you applied the marker bytes as described in the PDF or the updated 
marker bytes refered to in the latest v1.0 spec below?

http://www.audiostream.com/content/usb-link-dsd-audio-pcm-frames-andres-koch

Thanks

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team