From 39786d36d57d897d1983362c3395045ef6e8e9fe Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 12 Apr 2008 15:09:49 +0000 Subject: [PATCH] made clearAudioBuffer() static git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@911 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/mixer.h | 4 ++-- src/core/mixer.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mixer.h b/include/mixer.h index 6e0e4aa83..f66e5b318 100644 --- a/include/mixer.h +++ b/include/mixer.h @@ -274,11 +274,11 @@ public: stereoVolumeVector _volume_vector, audioPort * _port ); - void FASTCALL clearAudioBuffer( sampleFrame * _ab, + static void clearAudioBuffer( sampleFrame * _ab, const f_cnt_t _frames, const f_cnt_t _offset = 0 ); #ifndef DISABLE_SURROUND - void FASTCALL clearAudioBuffer( surroundSampleFrame * _ab, + static void clearAudioBuffer( surroundSampleFrame * _ab, const f_cnt_t _frames, const f_cnt_t _offset = 0 ); #endif diff --git a/src/core/mixer.cpp b/src/core/mixer.cpp index 4ddd6355b..415fc9e01 100644 --- a/src/core/mixer.cpp +++ b/src/core/mixer.cpp @@ -65,7 +65,7 @@ -sample_rate_t SAMPLE_RATES[QUALITY_LEVELS] = { 44100, 88200 } ; +sample_rate_t SAMPLE_RATES[QUALITY_LEVELS] = { 44100, 44100*2 } ;