remove unused param

This commit is contained in:
Glenn Maynard
2006-12-15 21:23:37 +00:00
parent 0022407a7a
commit b700578675
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ Alsa9Buf::Alsa9Buf()
pcm = NULL;
}
RString Alsa9Buf::Init( hw hardware, int channels_ )
RString Alsa9Buf::Init( int channels_ )
{
channels = channels_;
+1 -3
View File
@@ -29,11 +29,9 @@ public:
static void GetSoundCardDebugInfo();
static RString GetHardwareID( RString name="" );
enum hw { HW_HARDWARE, HW_SOFTWARE, HW_DONT_CARE };
/* Call SetSampleRate before you use the sample. */
Alsa9Buf();
RString Init( hw hardware, int channels );
RString Init( int channels );
~Alsa9Buf();
int GetNumFramesToFill();
@@ -102,7 +102,7 @@ RString RageSoundDriver_ALSA9_Software::Init()
g_iMaxWriteahead = PREFSMAN->m_iSoundWriteAhead;
m_pPCM = new Alsa9Buf();
sError = m_pPCM->Init( Alsa9Buf::HW_DONT_CARE, channels );
sError = m_pPCM->Init( channels );
if( sError != "" )
return sError;