I’ve run across several old threads with the same issue. It seems that Coreelec has an issue where it does not signal sample rate changes to ALSA when using a usb dac. Instead, the sample rate remains at 48khz. I even tried setting a fixed sample rate, but the DAC never switches.
For completeness, I ran aplay --dump-hw-params -D hw:1,0 -f cd /dev/zero
HW Params of device "hw:1,0":
--------------------
ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT: S32_LE SPECIAL
SUBFORMAT: STD
SAMPLE_BITS: 32
FRAME_BITS: 64
CHANNELS: 2
RATE: [44100 768000]
PERIOD_TIME: [125 1486078)
PERIOD_SIZE: [8 65536]
PERIOD_BYTES: [64 524288]
PERIODS: [2 1024]
BUFFER_TIME: (20 2972155)
BUFFER_SIZE: [16 131072]
BUFFER_BYTES: [128 1048576]
TICK_TIME: ALL
--------------------
aplay: set_params:1387: Sample format non available
Available formats:
- S32_LE
- SPECIAL
I even tried using SPDIF output and it still does not switch sample rates under any circumstances.
It seems that PulseAudio does not recognize the correct sample rates:
2024-04-12 09:48:18.701 T:4127 info : Device 6
2024-04-12 09:48:18.701 T:4127 info : m_deviceName : @:CARD=EX5,DEV=0
2024-04-12 09:48:18.701 T:4127 info : m_displayName : EX5
2024-04-12 09:48:18.701 T:4127 info : m_displayNameExtra: Analog
2024-04-12 09:48:18.701 T:4127 info : m_deviceType : AE_DEVTYPE_PCM
2024-04-12 09:48:18.701 T:4127 info : m_channels : FL, FR
2024-04-12 09:48:18.701 T:4127 info : m_sampleRates : 48000
2024-04-12 09:48:18.701 T:4127 info : m_dataFormats : AE_FMT_S32NE
2024-04-12 09:48:18.701 T:4127 info : m_streamTypes : No passthrough capabilities
Does anyone know how to manually m_sampleRates?
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.