mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
WaveFile: Add m_ prefix to member variables
This commit is contained in:
@ -33,11 +33,11 @@ public:
|
||||
bool Start(const std::string& filename, u32 sample_rate_divisor);
|
||||
void Stop();
|
||||
|
||||
void SetSkipSilence(bool skip) { skip_silence = skip; }
|
||||
void SetSkipSilence(bool skip) { m_skip_silence = skip; }
|
||||
// big endian
|
||||
void AddStereoSamplesBE(const short* sample_data, u32 count, u32 sample_rate_divisor,
|
||||
int l_volume, int r_volume);
|
||||
u32 GetAudioSize() const { return audio_size; }
|
||||
u32 GetAudioSize() const { return m_audio_size; }
|
||||
|
||||
private:
|
||||
static constexpr size_t BUFFER_SIZE = 32 * 1024;
|
||||
@ -45,13 +45,13 @@ private:
|
||||
void Write(u32 value);
|
||||
void Write4(const char* ptr);
|
||||
|
||||
File::IOFile file;
|
||||
std::string basename;
|
||||
u32 file_index = 0;
|
||||
u32 audio_size = 0;
|
||||
File::IOFile m_file;
|
||||
std::string m_basename;
|
||||
u32 m_file_index = 0;
|
||||
u32 m_audio_size = 0;
|
||||
|
||||
u32 current_sample_rate_divisor;
|
||||
std::array<short, BUFFER_SIZE> conv_buffer{};
|
||||
u32 m_current_sample_rate_divisor;
|
||||
std::array<short, BUFFER_SIZE> m_conv_buffer{};
|
||||
|
||||
bool skip_silence = false;
|
||||
bool m_skip_silence = false;
|
||||
};
|
||||
|
Reference in New Issue
Block a user