mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
WaveFile: Add m_ prefix to member variables
This commit is contained in:
parent
88122ae956
commit
61ccdb0a3c
2 changed files with 37 additions and 37 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue