I guess dmix is the idea, somehow. However I am puzzled by something
more basic right now: if I stop squeezelite and try to play something
from the OS, I get a weird "double free or corruption" error when I use
the "equal" device as a target, same as squeezelite uses
Code:
--------------------
root@pcp:/home/tc# ps waxu | grep squeezelite
5619 root /usr/local/bin/squeezelite -n pcp -o equal -a 80 4 1
5791 root grep squeezelite
root@pcp:/home/tc# kill -9 5619
root@pcp:/home/tc# mpg123 -a equal speaker-test.mp3
...
Playing MPEG stream 1 of 1: speaker-test.mp3 ...
MPEG 1.0 L III cbr128 44100 stereo
...
[0:05] Decoding of speaker-test.mp3 finished.
*** Error in `mpg123': double free or corruption (!prev): 0x01b8e138 ***
Aborted
root@pcp:/home/tc#
--------------------
When I target the hardware device it works, but it's no longer in mono:
Code:
--------------------
root@pcp:/home/tc# mpg123 -a sysdefault:CARD=sndrpijustboomd
speaker-test.mp3
...
MPEG 1.0 L III cbr128 44100 stereo
...
[0:05] Decoding of speaker-test.mp3 finished.
--------------------
The behaviour is the same with aplay so I suppose the message comes from
Alsa itself.
The machine doesn't crash, audio rendering is normal. Shall I disregard
that message?
The machine runs 4.9.21-pcpCore_v7 #1 SMP Thu Apr 13 19:56:59 EDT 2017
armv7l GNU/Linux
3 SB 3 Libratone Loop, Zipp Mini iPeng (iPhone + iPad) LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
IRBlaster by Gwendesign (Felix) Server Power Control by Gordon
Harris Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger PowerSave by Jason Holtzapple Song Info, Song Lyrics by
Erland Isaksson AirPlay Bridge by philippe_44 WeatherTime by Martin
Rehfeld Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=107539
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix