>> My USB DAC is only capable of 16/44.1 & 16/48 and doesn't do any sort
>> of oversampling (non-OS).  I tried playing a 24/96 file in gmpc and it
>> plays just fine.  This is puzzling since I have:
>>
>> audio_output {
>>         type                    "alsa"
>>         name                    "USB Monica"
>>         device                  "hw:0,0"
>> }
>>
>> Shouldn't audio be passed off directly to the DAC in this
>> configuration, without dmix resampling it?
>
> Not exactly.  MPD sees that your card cannot do 24 bit, so it converts
> internally - and it logs that (--verbose).  That's usually better than
> letting dmix it do transparently.
>
> Max

Hi Max,

I've finally got my hands on a 24-bit USB DAC and some 24/96 files,
and it works with mpd, but I'm seeing some strange behavior.

I couldn't get mpd to play with any specification of device such as
hw:0,0.  It plays if I don't specify audio_output at all, but the DAC
LEDs indicate 16/48 so dmix must be at work.

It does play and LEDs do indicate 24/96 if I specify this:

audio_output {
  type  "oss"
  name  "USB DAC"
}

I'm not familiar with OSS at all.  Does dmix get involved with OSS, or
does OSS have something similar that I might prefer to bypass?  I'm
trying to send music from the filesystem to the DAC untouched.  Any
other reason to prefer ALSA over OSS?

Do you have any idea why the DAC doesn't work when hw:0,0 is specified?  I get:

# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
# cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
 16: [ 0- 0]: digital audio playback
 33:        : timer
# cat /proc/asound/cards
 0 [USBDAC         ]: USB-Audio - USBDAC

Otherwise 24-bit support works great in mpd.  Thanks for coding that up!

- Grant

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to