>> I'm trying to get music from mpd to my USB DAC in 100% untouched
>> form. My mpd.conf is as follows:
>>
>> audio_output {
>> type "alsa"
>> name "USB Monica"
>> device "hw:0,0"
>> format "44100:16:2"
>> }
>
> Don't know anything about mpd but you can set up an asoundrc "plug" in
> alsa that will fix the rate from alsa to the device. The following
> example works for me:
> ======================================
> pcm.my_device {
> type hw
> card 0
> }
> pcm.my_device_44 {
> type plug
> slave {
> pcm my_device
> rate 44100
> }
> }
> pcm.my_device_48 {
> type plug
> slave {
> pcm my_device
> rate 48000
> }
> }
> ======================================
> The set the output of your app to the plug device. For example, in
> Audacious > Output Plugin Preferences > Device Settings > Audio device:
> type "my_device_44". Also disable the rate converter and check bypass
> signal processing. Not to mention, per this example, to use a 44.1kHz
> source file.
>
> I use it to insure that my audio does not get munged.
>
> Of course if the actual hardware (my_device) does not support the sample
> rate, or its clock is not to set to that sample rate, then you will not
> get playback.
>
> --
> Chris
Thanks, I'd like to try that. Here's what I have:
# cat /root/.asoundrc
pcm.my_device {
type hw
card 0
}
pcm.my_device_44 {
type plug
slave {
pcm my_device
rate 44100
}
}
Relevant mpd.conf section:
audio_output {
type "alsa"
name "USB Monica"
device my_device_44"
}
I've also tried:
audio_output {
type "my_device_44"
name "USB Monica"
}
I've rebooted but I get an error from mpd when trying to play music:
"problems opening sound device". The files are definitely 16/44.1.
Do you see what could be wrong?
- Grant
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user