The "few secs of audio" is to do with Wav format. With WAV the WAV
header has details including length. Usually when a wav file is being
written - the header is updated after the whole file is written. This
cannot be done if output is to a stream (i.e. STDOUT is no "seekable")
To check audio recording - you need to record in RAW and then convert to
flac or use a player that can play raw files (e.g. ffplay).
Code:
--------------------
wavin2cmd.exe -o wavin:3 > audiocapture.raw
ffplay -f s16le -ar 44100 -ac 2 audiocapture.raw
--------------------
There may 3 sources of problems.
1. command line error
2. syntax error in conf file
3. permission or setup etc. preventing command accessing audio h/w
To check 1 - use the advice above. Make sure you have the right device
by using the "wavin2cmd -l" command - first device listed is 0 (zero).
To check 2 - use logging set player.source to INFO and try to play wavin
Favorite - look at log output and confirm fully expanded wavin2cmd
command is correct and as intended.
Check problems of type 3 is more difficult and Windows version
dependent. General tips
* Don't run LMS as a service - set it to run at user login. Services
may not have access audio h/w
* Check audio device properties. make sure it is enabled, the audio
format is correct and it is not in any of the exclusive modes.
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=102551
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins