You need to append .monitor to the parec device.


Code:
--------------------
    parec -v -d Radio -r test.pcm
  
  Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
  Connection established.
  Stream error: No such entity
--------------------




Code:
--------------------
    parec -v -d Radio.monitor -r test.pcm
  
  Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
  Connection established.
  Stream successfully created.
  Buffer metrics: maxlength=4194304, fragsize=352800
  Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
  Connected to device Radio.monitor (7, not suspended).
  
--------------------


I'd also suggest that you enable logging, "lock-down" squeezelite-pulse
to 44100Hz, tell the server that squeezelite support a higher sample
rate so it doesn't resample and then have squeezelite resample any
stream that is not 44100.

You might also need to daemonize (run it in the background) squeezelite
using the -z option.

squeezelite -d all=debug -f squeezelite.log -Z 384000 -r 44100-44100 -u
E

You can play the pcm file using aplay to confirm.  Well I don't have
icecast setup.


Code:
--------------------
    aplay -f cd test.pcm
  Playing raw data 'test.pcm' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
  
--------------------



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=112809

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to