diff options
| author | 2018-10-24 00:44:32 -0400 | |
|---|---|---|
| committer | 2018-10-24 00:46:17 -0400 | |
| commit | 6d2761499464324c09a7b2c4c330a2409694d004 (patch) | |
| tree | bf0ae4c0be89ddca3b2c8481e97412ed2f72a17e /src/audio_core/time_stretch.cpp | |
| parent | Merge pull request #1551 from ogniK5377/improved-svcbreak (diff) | |
| download | yuzu-6d2761499464324c09a7b2c4c330a2409694d004.tar.gz yuzu-6d2761499464324c09a7b2c4c330a2409694d004.tar.xz yuzu-6d2761499464324c09a7b2c4c330a2409694d004.zip | |
time_stretch: Remove unused m_channel_count member variable
This is only stored to, but never read from.
Diffstat (limited to 'src/audio_core/time_stretch.cpp')
| -rw-r--r-- | src/audio_core/time_stretch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio_core/time_stretch.cpp b/src/audio_core/time_stretch.cpp index d72d67994..cee8b12dd 100644 --- a/src/audio_core/time_stretch.cpp +++ b/src/audio_core/time_stretch.cpp | |||
| @@ -10,8 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | namespace AudioCore { | 11 | namespace AudioCore { |
| 12 | 12 | ||
| 13 | TimeStretcher::TimeStretcher(u32 sample_rate, u32 channel_count) | 13 | TimeStretcher::TimeStretcher(u32 sample_rate, u32 channel_count) : m_sample_rate{sample_rate} { |
| 14 | : m_sample_rate(sample_rate), m_channel_count(channel_count) { | ||
| 15 | m_sound_touch.setChannels(channel_count); | 14 | m_sound_touch.setChannels(channel_count); |
| 16 | m_sound_touch.setSampleRate(sample_rate); | 15 | m_sound_touch.setSampleRate(sample_rate); |
| 17 | m_sound_touch.setPitch(1.0); | 16 | m_sound_touch.setPitch(1.0); |