2015-06-10, 21:40
Most likely he has overlooked the Expert Setting in Audio Output Settings ... which defaults to 48000.
(2016-12-26, 17:07)PedroSoares Wrote: I'm having exactly the same issue.
ALSA Analog
Result: sound outputs 48kHz 24bit independent of the source encoding
ALSA S/PDIF
Result: gives correct sample rate but is fixed at 24bit independent of the source encoding
Almost two years later and Kodi still has the same issue?!?
Did you find a workaround for this?
~$ cat /proc/asound/card5/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
~$ cat /proc/asound/card5/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 22050
Quote:23:06:58 634.340759 T:1944297472 NOTICE: Device 2
23:06:58 634.340820 T:1944297472 NOTICE: m_deviceName : @:CARD=II,DEV=0
23:06:58 634.340820 T:1944297472 NOTICE: m_displayName : Music Streamer II
23:06:58 634.340881 T:1944297472 NOTICE: m_displayNameExtra: Analog
23:06:58 634.340881 T:1944297472 NOTICE: m_deviceType : AE_DEVTYPE_PCM
23:06:58 634.340942 T:1944297472 NOTICE: m_channels : FL,FR
23:06:58 634.340942 T:1944297472 NOTICE: m_sampleRates : 48000
23:06:58 634.341003 T:1944297472 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE