Mercurial > audlegacy-plugins
comparison src/filewriter/wav.c @ 2950:dcd8d93ba781
- mp3: adapted to lame-3.98. now filewriter writes valid TLEN.
- deleted unnecessary variable "written".
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 11 Oct 2008 02:02:41 +0900 |
parents | 31d6c44ffef2 |
children |
comparison
equal
deleted
inserted
replaced
2949:0f0227b29f43 | 2950:dcd8d93ba781 |
---|---|
61 guint32 data_chunk; | 61 guint32 data_chunk; |
62 guint32 data_length; | 62 guint32 data_length; |
63 }; | 63 }; |
64 static struct wavhead header; | 64 static struct wavhead header; |
65 | 65 |
66 static guint64 written; | |
67 | |
66 static gint wav_open(void) | 68 static gint wav_open(void) |
67 { | 69 { |
68 memcpy(&header.main_chunk, "RIFF", 4); | 70 memcpy(&header.main_chunk, "RIFF", 4); |
69 header.length = GUINT32_TO_LE(0); | 71 header.length = GUINT32_TO_LE(0); |
70 memcpy(&header.chunk_type, "WAVE", 4); | 72 memcpy(&header.chunk_type, "WAVE", 4); |