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

2012-03-24 Thread Jurgen Kramer
On Fri, 2012-03-23 at 14:24 +0200, adel...@freemail.gr wrote:
 I had to use plughw to get past that error.
 
plughw only works if I use my SOtM USB-to-SPDIF converter. It does not
work when I use the firewire interface.

So using current mpg git DSD-over-usb output to my Mytek DAC works when
using SPDIF from the SOtM. Hopefully using the firewire snd driver will
be fixable.

Mar 24 17:00 : decoder: audio_format=352800:dsd:2, seekable=false

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


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

2012-03-24 Thread Jesus R
Thanks for that tip! I have it working now with plughw as well...

Best
Jesus R

On Fri, Mar 23, 2012 at 8:24 AM, adel...@freemail.gr adel...@freemail.grwrote:

 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

--
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-24 Thread Jurgen Kramer
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




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