The MC logs should also indicate what parameters it used to open the alsa device.
The only references I could find about this online pointed towards a firmware error.
The new ALSA audio interface code in MC is very careful about how it opens the device, setting all of the parameters and querying for support of the desired sample rate before using it.
Hi Bob,
I tried to catch the logs when the track plays, and when it does not. Here are the differences.
I hope it helps,
Thanks
B.
TRACK NOT PLAYING:
0026950: 4081056576: Playback: CALSAPlugin::OpenALSA: Start
0026969: 4081056576: Playback: CALSAPlugin::OpenALSA: Opened audio device front:CARD=Audio,DEV=0
0026969: 4081056576: Playback: CALSAPlugin::OpenALSA: Set sample rate 96000
0026969: 4081056576: Playback: CALSAPlugin::OpenALSA: Using device at bitdepth S32_LE
0026969: 4081056576: Playback: CALSAPlugin::OpenALSA: Buffer size is 48000 uFrames
0026969: 4081056576: Playback: CALSAPlugin::OpenALSA: Period size is 9600 uFrames
0026972: 4081056576: Playback: CALSAPlugin::OpenALSA: Hardware cannot resume
0026989: 4081056576: Playback: CALSAPlugin::OpenALSA: Finish (38 ms)
0026994: 4057983808: Playback: CWaveOutBin::CreateBin: Finish (48 ms)
0026994: 4057983808: Playback: CMJWaveFeeder::Thread: Preparing to feed data
0026995: 3829578560: Playback: CWaveOutBinPlayThread::Thread: Start
0026997: 3821185856: Playback: CPlayerZoneDisplayInfoLoadImageThread::Thread: Start
0026998: 3821185856: Import: JRAnalyzer::Open: Start
0026998: 3821185856: Import: JRAnalyzer::AddFile: Start
0026999: 3821185856: Import: JRAnalyzer::AddFile: Filename: /home/bob/Music/Metallica/Metallica/Metallica - Metallica - 1 - Enter Sandman.flac
0026999: 4090698560: Reader: TranscodingReader::TranscodingReader (settings): Start
0026999: 4057983808: Playback: CMJWaveFeeder::Thread: Memory playback: 1; Maximum play buffer bytes: 268435456; Grow by bytes: 134217728; System available bytes: 120872960
0026999: 4057983808: Playback: CMJWaveFeeder::Thread: Running feeder loop
0027000: 4090698560: Reader: TranscodingReader::TranscodingReader (settings): Finish (0 ms)
TRACK PLAYING:
0026094: 4115258176: Playback: CALSAPlugin::OpenALSA: Start
0026109: 4115258176: Playback: CALSAPlugin::OpenALSA: Opened audio device front:CARD=Audio,DEV=0
0026110: 4115258176: Playback: CALSAPlugin::OpenALSA: Set sample rate 96000
0026110: 4115258176: Playback: CALSAPlugin::OpenALSA: Using device at bitdepth S32_LE
0026110: 4115258176: Playback: CALSAPlugin::OpenALSA: Buffer size is 48000 uFrames
0026110: 4115258176: Playback: CALSAPlugin::OpenALSA: Period size is 9600 uFrames
0026111: 4115258176: Playback: CALSAPlugin::OpenALSA: Hardware cannot resume
0026112: 4115258176: Playback: CALSAPlugin::OpenALSA: Finish (18 ms)
0026114: 3904875328: Playback: CWaveOutBinPlayThread::Thread: Start
0026114: 4081056576: Playback: CWaveOutBin::CreateBin: Finish (27 ms)
0026114: 4081056576: Playback: CMJWaveFeeder::Thread: Preparing to feed data
0026115: 3869403968: Playback: CPlayerZoneDisplayInfoLoadImageThread::Thread: Start
0026115: 3869403968: Import: JRAnalyzer::Open: Start
0026115: 3869403968: Import: JRAnalyzer::AddFile: Start
0026115: 4081056576: Playback: CMJWaveFeeder::Thread: Memory playback: 1; Maximum play buffer bytes: 268435456; Grow by bytes: 134217728; System available bytes: 107749376
0026115: 4081056576: Playback: CMJWaveFeeder::Thread: Running feeder loop
0026115: 3869403968: Import: JRAnalyzer::AddFile: Filename: /home/bob/Music/Metallica/Metallica/Metallica - Metallica - 1 - Enter Sandman.flac
0026116: 3869403968: Import: JRAnalyzer::AddFileMJ: Start
0026116: 3869403968: Import: JRAnalyzer::AddFileMJ: Finish (0 ms)
0026116: 3869403968: Import: JRAnalyzer::AddFile: Finish (0 ms)
0026116: 3869403968: Import: JRAnalyzer::Open: Finish (1 ms)
0026117: 3869403968: General: CFileInfo::CFileInfo: Start
0026117: 3869403968: General: CFileInfo::CFileInfo: Finish (0 ms)