8086 wrote: 
> I had just based most of what I did off a 'blog post'
> (http://confoundedtech.blogspot.no/2012/08/airplay-to-squeezebox-touch-via-linux.html)
> by atca ('here are his thread/posts on this forum'
> (http://forums.slimdevices.com/showthread.php?49584-Announce-WaveInput-for-Linux&p=713307&viewfull=1#post713307)
> that formed the basis of that). So any deviations from the original
> config is due to that.

I find if using something modded by a user - have a look at the original
and see what are the differences and try to understand them. It
shouldn't be hard as the original can be found when installing the
plugin.

> If I understand you and the configuration files right, the $FILES$
> variable will be substituted for the part that comes after "wavein:"
> when creating a Favorite URL. For example if using "wavein:hw,2,0" as a
> URL, then $FILES$ would be set to "hw,2,0". Do I understand you
> correctly?
Yes $FILE$ will be replaced but for your mods to the conf file using
ecasound (have you had problems that you need to use ecasound ?) the
syntax of the alsa device should be -i:alsa,$FILE$ then yiou can use
"wavin:hw:2,0" - using the -i:alsahw means you may have to use something
like "wavin:,2,0"
Use the player.source logging  or plugin.waveinput to DEBUG to see the
actual ecasound command (i.e. all params subsituted) that will be
invoked when "playing"

> A FINAL QUESTION CONCERNING DIFFERENT DESTINATION FORMATS:
> how does the Squeezebox choose between flac, mp3 and pcm? I configured
> WaveIn to only use pcm since I have the bandwidth, and I heard some
> noise when the two other destination formats were enabled, but would
> like to know how it selects the format when there are three possible
> options.

The conf file define rules for formats that can be selected by LMS. 
Without deleting all but one conf rule you cannot force the plugin to
use a particular format using the conf file - gutting the conf file is
not good practice.   To force the use of a format use the WebUI
Settings/Advanced/Filetypes and for the WAVIN type disable all the
formats you do not want. It make little sense to use PCM as it will
create a bigger network load on your server and player as there is a lot
more work handling packets and possiblilty of problems as less audio
time can be buffered with PCM and server and player have to be more
responsive compared to using flac. Bandwidth is one of the lesser
worries.

If you hear noise - chances are it is bad setup of ecasound options -
use default conf file and arecord.  If you do not know how to use the
Filetypes settings -  how do you different formats were used when you
heard the "noise" or even what command was being run ?

After looking at what rules are available for a filetype and the player
capabilities, LMS will choose which format to use lossless first (i.e.
flac then pcm) and then lossy MP3 unless bit rate limiting for a player
has been enabled in which case MP3 will be the preferences.


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

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

Reply via email to