summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-13 19:36:14 -0700
committerChris Robinson <[email protected]>2009-08-13 19:36:14 -0700
commite0792912028d143b89b3835b2a7203693a494d0f (patch)
tree763e226941fbad9850b8cfc29d309d3c92ea6537 /Alc/ALc.c
parent826c641668a14c244bac30d61a681c6817461f80 (diff)
Remove unnecessary function parameters
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 042724eb..fbabe468 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -541,12 +541,13 @@ ALCAPI ALCdevice* ALCAPIENTRY alcCaptureOpenDevice(const ALCchar *deviceName, AL
pDevice->Frequency = frequency;
pDevice->Format = format;
+ pDevice->BufferSize = SampleSize;
SuspendContext(NULL);
for(i = 0;BackendList[i].Init;i++)
{
pDevice->Funcs = &BackendList[i].Funcs;
- if(ALCdevice_OpenCapture(pDevice, deviceName, frequency, format, SampleSize))
+ if(ALCdevice_OpenCapture(pDevice, deviceName))
{
pDevice->next = g_pDeviceList;
g_pDeviceList = pDevice;