There will alway be a latency gap with WaveInput due to drivers,
Windows, LMS and network transmission. On some Windows systems,  user
can never reduce the delay enough.

There is only one setting on LMS which can affect the delay. 

The WaveInput Plugin generate an audio stream which is treated by LMS
similar to a remote http radio station.  So the WebUI
Setting/Advanced/Network/ Radio Station Buffer settings determines how
much of audio stream is buffered in player before playing starts (i.e.
delay between start and when audio is heard) .  System default is often
3 but often users will have adjusted it higher.  

If you wish to have a lower settings for WaveInput then you can edit the
plugin source code and add in the following bufferThreshold routine
after the isRemote router in plugin file WAVIN.pm

Code:
--------------------
    
  sub isRemote { 1 }
  
  # Set threshold level of audio data buffered in player before playing starts. 
Values is in kb. Max value is 255
  sub bufferThreshold { 20 }
  
  
--------------------


The value in bufferThreshold is in kbytes of data - how many playing
seconds (i.e. latency) depends on stream format.  Too small and stream
will stutter. 

Changes to plugin will only take effect when LMS is stopped and
restarted.


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

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

Reply via email to