oshcar wrote: > "Interesting next log - as it show something I didn't expect. > Same device, similar test (2nd stream is 44.1Khz) only this time using > the "hw" - device is opened with S16_LE but re-oppend with S32_LE later. > I'm not sure why squeezelite has changed device but shows you need to > enable lgging to knwo what is going on." > > what are the implications of this ?
I found out Pulseaudio was holding "native" driver and when I stopped and got access to Audio,0 - things were more expected. AFAIK - underlying chip is a 5102 also. Interesting this time sample size format S24_3LE. Repeat of 1st test - squeezelite opens at 44.1Khz (default value) but when I play a 48Khz - it reopens at 48Khz. Code: -------------------- $ ./alsacap -d hw:Audio,0 *** Exploring configuration space of device `hw:Audio,0' for playback *** 2 channels Sampling rate 32000..96000 Hz Sample formats: S16_LE, S24_3LE $ ./squeezelite -o hw:Audio,0 -d output=info [17:32:29.074970] output_init_alsa:933 init output [17:32:29.075029] output_init_alsa:973 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1 [17:32:29.078434] output_init_common:432 supported rates: 96000 48000 44100 32000 [17:32:29.081343] output_init_alsa:999 memory locked [17:32:29.081358] output_init_alsa:1005 glibc detected using mallopt [17:32:29.081460] output_thread:682 open output device: hw:Audio,0 [17:32:29.081499] alsa_open:351 opening device at: 44100 [17:32:29.082657] alsa_open:422 opened device hw:Audio,0 using format: S24_3LE sample rate: 44100 mmap: 1 [17:32:29.082686] alsa_open:513 buffer: 40 period: 4 -> buffer size: 1764 period size: 441 [17:32:29.086060] output_flush:445 flush output buffer [17:34:41.484509] output_flush:445 flush output buffer [17:34:42.817065] _output_frames:65 start buffer frames: 12288 [17:34:42.817150] _output_frames:153 track start sample rate: 48000 replay_gain: 0 [17:34:42.827251] output_thread:682 open output device: hw:Audio,0 [17:34:42.827827] alsa_open:351 opening device at: 48000 ][17:34:42.828729] alsa_open:422 opened device hw:Audio,0 using format: S24_3LE sample rate: 48000 mmap: 1 [17:34:42.828749] alsa_open:513 buffer: 40 period: 4 -> buffer size: 1920 period size: 480 [17:34:48.474701] output_flush:445 flush output buffer -------------------- oshcar wrote: > i can never get this logging to work > i will put some effort into it today > thx for this > i will look through it and see if i can get these logs working Get logs working or you'll never be certain what's is going on. What OS are you using ? PCP, Ubuntu, raspbian, ??? ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=114947 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins