Mercurial > audlegacy-plugins
diff src/filewriter/wav.c @ 1269:0e160bafce1c
- adapt filewriter for file:// scheme.
- filewriter plugins should return written time which includes offset.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sun, 15 Jul 2007 19:06:04 +0900 |
parents | df7b09989aee |
children | fa9f85cebade |
line wrap: on
line diff
--- a/src/filewriter/wav.c Sun Jul 15 00:53:16 2007 +0900 +++ b/src/filewriter/wav.c Sun Jul 15 19:06:04 2007 +0900 @@ -113,6 +113,6 @@ static gint wav_get_written_time(void) { if (header.byte_p_sec != 0) - return (gint) ((written * 1000) / header.byte_p_sec); + return (gint) ((written * 1000) / header.byte_p_sec + offset); return 0; }