More > JRiver Media Center 23 for Linux
Unable to play to snd-aloop output device
mattkhan:
and I can confirm it does play a 44.1kHz file back ok
bob:
--- Quote from: mattkhan on February 22, 2018, 12:18:48 pm ---it reports 44100 only on that device
--- Code: ---Card 2, ID `Loopback', name `Loopback'
Device 0, ID `Loopback PCM', name `Loopback PCM', 8 subdevices (8 available)
2 channels, sampling rates 44100 Hz
Sample formats: S32_LE
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Subdevice 4, name `subdevice #4'
Subdevice 5, name `subdevice #5'
Subdevice 6, name `subdevice #6'
Subdevice 7, name `subdevice #7'
Device 1, ID `Loopback PCM', name `Loopback PCM', 8 subdevices (8 available)
1..32 channels, sampling rates 8000, 11025, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
Sample formats: S16_LE, S16_BE, S32_LE, S32_BE, FLOAT_LE, FLOAT_BE
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Subdevice 4, name `subdevice #4'
Subdevice 5, name `subdevice #5'
Subdevice 6, name `subdevice #6'
Subdevice 7, name `subdevice #7'
--- End code ---
what is it reading to get that info?
--- End quote ---
Directly from ALSA. The only thing I added was the test for sample rates.
bob:
--- Quote from: mattkhan on February 22, 2018, 12:23:10 pm ---and I can confirm it does play a 44.1kHz file back ok
--- End quote ---
The multirate device could just be a pseudo device reflecting the resampler.
mattkhan:
--- Quote from: bob on February 22, 2018, 02:46:35 pm ---The multirate device could just be a pseudo device reflecting the resampler.
--- End quote ---
FWIW my previous output (which reported all the sample rates) came from https://github.com/ronalde/mpd-configure/blob/master/alsa-capabilities
What does MC do in this case? Does it attempt to play anyway or just report the error?
bob:
--- Quote from: mattkhan on February 22, 2018, 02:49:53 pm ---FWIW my previous output (which reported all the sample rates) came from https://github.com/ronalde/mpd-configure/blob/master/alsa-capabilities
What does MC do in this case? Does it attempt to play anyway or just report the error?
--- End quote ---
It depends on the setting of the audio advanced option "Auto configure on playback failure". It will guess a sample rate if playback fails.
Best to use DSP studio to set the rate. The important thing to know is that plughw as a default implies using ALSA resampling which we don't allow.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version