jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

Local audio: defaults to 44.1kHz? #119

Open beeksma opened 8 years ago

beeksma commented 8 years ago

Hi there,

I'm trying to get forked-daapd to play my 96kHz tracks without any conversion via ALSA on Ubuntu Server 14.04, however according to my DAC the output is stuck on 44.1 kHz. My asound.cnf is set up as follows:

pcm.device{
 type hw
 card 1
 device 0
}

pcm.!default{
    type plug
    slave.pcm "device"
}

And my forked-daapd.conf looks like this when it comes to local audio output:

# Local audio output
audio {
        # Name - used in the speaker list in Remote
        nickname = "Yamaha RX-V773"

        # Type of the output (alsa or dummy)
        type = "alsa"

        # Audio device name for local audio output
        card = "default"

        # Mixer channel to use for volume control - ALSA/Linux only
        # If not set, PCM will be used if available, otherwise Master.
        mixer = "PCM"

When I use aplay -D default (96khz sample track) the track plays at the preferred sample rate without any issues. Is there way to stop forked-daapd from using 44.1 kHz as the default sample rate?

Thanks for your help and keep up the great work!