For some reason when a single device is playing Waveinput and a 2nd is
being synced to it - LMS does not kill off the first instance of
"arecord" and the sync seems to fail and stops playing but the
underlying "arecord" process is still "active" and "using" the alsa
device - preventing any new attempt to use the same device.

Attached is a zip file.  It has two files a new custom-convert.,conf and
a shell script arecord.sh.

The shell script will look for and try to kill any process with the same
set of arguments - so it should kill any existing arecord processes of
the same alsa device.

To instal:
1. Download and unzip
2. copy custom-convert.conf to the waveinput plugin directory
3. Create a Bin directory in the the waveinput plugin directory
4. Copy arecord.sh to the newly created Bin directory
5. "chmod +x" the arecord.sh file ot make executable.
6. Make sure 2 new files and Bin directory have same owner and group as
other Waveinput plugin file.
7. Restart LMS

When you sync a 2nd device to a device already playing waveinput - LMS
will still stop playing but new script will enable you to start a new
Wavinput session and not get locked out.
Best to sync devices when not playing anything.

Not sure how you permanently save these changes in Picoreplayer as the
new files are in RAM.


+-------------------------------------------------------------------+
|Filename: waveinputfix.zip                                         |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25705|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109495

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to