diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-06-26 20:01:07 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-06-26 20:01:07 -0400 |
| commit | 11d304ae29b944b83e9962f2963f6d8556a0aa0f (patch) | |
| tree | 13ea105f54e874a8d948b2e55749f3b7a194a097 /Source/Core/AudioCommon/AudioCommon.cpp | |
| parent | a5aac685d6e28a880ea1e5c9e110c9d8dbfa9721 (diff) | |
| parent | ca0203a1ccaa9aa84bb3f74fa0548924438a1a40 (diff) | |
Merge pull request #259 from magumagu/dtk-rewrite
DTK rewrite
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AudioCommon.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index c476fe6a5c..5cc57800b5 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -28,10 +28,7 @@ namespace AudioCommon { SoundStream *InitSoundStream(void *hWnd) { - unsigned int AISampleRate, DACSampleRate; - AudioInterface::Callback_GetSampleRate(AISampleRate, DACSampleRate); - delete soundStream; - CMixer *mixer = new CMixer(AISampleRate, DACSampleRate, 48000); + CMixer *mixer = new CMixer(48000); // TODO: possible memleak with mixer |
