I'm attempting to get MC to play to a loopback device. I see the following in the logs
1289688: 2166068992: Playback: CALSAPlugin::OpenALSA: Opened audio device plughw:CARD=Loopback,DEV=0
1289688: 2166068992: Playback: CALSAPlugin::OpenALSA: Opened device at bitdepth S16_LE
1289688: 2166068992: Playback: CALSAPlugin::OpenALSA: Failed to get desired sample rate (48000): Invalid argument
1289688: 2166068992: Playback: CALSAPlugin::OpenALSA: Finish (1 ms)
This log is with the PCM output format explicitly set to S16_LE (hence the 2nd line), I get the same behaviour if I set this to auto.
The error displayed is
1289689: 2211079936: Playback: CPlayerZone::JRPlaybackEngine_PlaybackError: Start
1289689: 2211079936: Playback: CPlayerZone::JRPlaybackEngine_PlaybackError: Error: Playback could not be started on the output 'ALSA' using the format
'48 kHz 2ch'.
This output format may not be supported by your hardware. You can use DSP Studio to change the output to a compatible format.
Also, make sure that your system has a valid sound playback device and that it is properly configured in playback options.
1289689: 2211079936: Playback: CPlayerZone::JRPlaybackEngine_PlaybackError: Finish (0 ms)
the same file plays without issue using aplay
$ aplay -D plughw:CARD=Loopback,DEV=0 MeasSweep_48000_0_24000_LR_refL.wav
Playing WAVE 'MeasSweep_48000_0_24000_LR_refL.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
any ideas how to get MC to play to this device?