paul- wrote: > If you recall, I'm running a modded squeezelite program and the Rpi to > turn off the power to an external amplifier automatically with the state > of the player. I've noticed occasionally where the amplifier is > powered up but nothing is playing. (and the power button in LMS is > showing off) So I did a little investigating today. > > The situation is > Player A is synchronized to Player B > > Then turn off both players. (i.e. overnight) > > Then if I start Player A with Player B off........player B still fires > the output thread to wakeup and open the Alsa device....but fails. When > player A starts, here is the log from player B > > > Code: -------------------- > > > [10:07:58.471749] process:438 strm > [10:07:58.471882] process_strm:231 strm command q > [10:07:58.471981] decode_flush:181 decode flush > [10:07:58.472099] output_flush:1449 flush output buffer > [10:07:58.472171] sendSTAT:163 STAT: STMf > [10:07:58.520600] output_thread:601 open output device: front:CARD=DAC,DEV=0 > [10:07:58.524678] alsa_open:270 opened device front:CARD=DAC,DEV=0 using format: S16_LE sample rate: 44100 mmap: 1 > [10:07:58.524968] alsa_open:335 buffer: 80 period: 4 -> buffer size: 3528 period size: 882 > [10:07:58.526517] ALSA snd_pcm_hw_start:588 SNDRV_PCM_IOCTL_START failed (-32) > [10:07:58.977215] process:438 strm > [10:07:58.977471] process_strm:231 strm command t > [10:07:58.977586] sendSTAT:163 STAT: STMt > [10:08:03.982109] process:438 strm > [10:08:03.982245] process_strm:231 strm command t > [10:08:03.982306] sendSTAT:163 STAT: STMt > -------------------- > > > > Is this just caused by LMS? My hook into squeezelite to toggle the > power is based on the state of the output thread. Is there a better > spot to do this?
Are there any more debug messages before this, or with -d all=debug on? ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
