errors in WAV header -------------------- Key: LS-552 URL: http://dev.sourcefabric.org/browse/LS-552 Project: Liquidsoap Issue Type: Bug Components: Liquidsoap Affects Versions: 1.0 beta Environment: Liquidsoap 1.0.0-beta2+svn (@644dd3b27614:20110706:175811)
Reporter: peter It seems that duration is not encoded in the right way when using reopen_when() at 'output.file(%wav())' test: output.file( %wav(stereo=true,duration=3600.), "./test_%H:%M.wav", reopen_when={0m0s}, mksafe(noise()) ) qwavheaderdump test_16:00.wav test_16:00.wav (635054156 bytes): riff: 'RIFF' riff length: -268435457 riff length field should be 635054148 wave: 'WAVE' fmt: 'fmt ' fmt length: 16 format: 1 channels: 2 sample rate: 44100 bytes/second: 176400 bytes/sample: 4 bits/sample: 16 data: 'data' data length: -268435493 data length field should be 635054112 Romain has provided an additional parameter 'duration' (float) at %wav(). Using parameter 'duration' If record is sucessfully finished, length is encoded in the right way. qwavheaderdump test_18:00.wav test_18:00.wav (635040044 bytes): riff: 'RIFF' riff length: 635040036 wave: 'WAVE' fmt: 'fmt ' fmt length: 16 format: 1 channels: 2 sample rate: 44100 bytes/second: 176400 bytes/sample: 4 bits/sample: 16 data: 'data' data length: 635040000 This ticket is written for documentation purposes only. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl