mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
fixed uninitialzed audio_size variable in WaveFileWriter
This commit is contained in:
parent
fafdc4fcef
commit
8cf515359c
1 changed files with 6 additions and 3 deletions
|
@ -8,10 +8,11 @@
|
|||
|
||||
enum {BUF_SIZE = 32*1024};
|
||||
|
||||
WaveFileWriter::WaveFileWriter()
|
||||
WaveFileWriter::WaveFileWriter():
|
||||
skip_silence(false),
|
||||
audio_size(0),
|
||||
conv_buffer(NULL)
|
||||
{
|
||||
conv_buffer = 0;
|
||||
skip_silence = false;
|
||||
}
|
||||
|
||||
WaveFileWriter::~WaveFileWriter()
|
||||
|
@ -39,6 +40,8 @@ bool WaveFileWriter::Start(const char *filename, unsigned int HLESampleRate)
|
|||
return false;
|
||||
}
|
||||
|
||||
audio_size = 0;
|
||||
|
||||
// -----------------
|
||||
// Write file header
|
||||
// -----------------
|
||||
|
|
Loading…
Add table
Reference in a new issue