Fixed missing initialization for voice data writer members.
This commit is contained in:
parent
b0db8deafb
commit
56e6eef1da
@ -139,8 +139,8 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
CELTDecoder* m_celtDecoder = NULL;
|
CELTDecoder* m_celtDecoder = NULL;
|
||||||
uint32_t m_frameSizeSamples;
|
uint32_t m_frameSizeSamples = 0;
|
||||||
uint32_t m_encodedFrameSizeBytes;
|
uint32_t m_encodedFrameSizeBytes = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // USE_VAUDIO_CELT
|
#endif // USE_VAUDIO_CELT
|
||||||
@ -162,7 +162,7 @@ private:
|
|||||||
struct PlayerVoiceState
|
struct PlayerVoiceState
|
||||||
{
|
{
|
||||||
#ifdef USE_VAUDIO_CELT
|
#ifdef USE_VAUDIO_CELT
|
||||||
IVoiceCodec* celtDecoder;
|
IVoiceCodec* celtDecoder = nullptr;
|
||||||
#else
|
#else
|
||||||
CeltVoiceDecoder decoder;
|
CeltVoiceDecoder decoder;
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,7 +9,8 @@ class WaveFileWriter
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
WaveFileWriter():
|
WaveFileWriter():
|
||||||
m_file(nullptr)
|
m_file(nullptr),
|
||||||
|
m_DataBytes(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user