summaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-16 23:29:32 -0700
committerChris Robinson <[email protected]>2009-09-16 23:29:32 -0700
commitfb97ca6022308e5898dbfa43958f61bcaed82f30 (patch)
treef0a858dbaaa4f6d96a2bc8283a6b62de3f01f16d /Alc/portaudio.c
parentcbcaa54173bf6b14435adf3daf9feb2fa2e37d04 (diff)
Remove left-over backend-specific period options
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r--Alc/portaudio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Alc/portaudio.c b/Alc/portaudio.c
index e7330999..5e0687b1 100644
--- a/Alc/portaudio.c
+++ b/Alc/portaudio.c
@@ -73,7 +73,6 @@ static ALCboolean pa_open_playback(ALCdevice *device, const ALCchar *deviceName)
const PaStreamInfo *streamInfo;
PaStreamParameters outParams;
pa_data *data;
- int periods;
PaError err;
if(pa_handle == NULL)
@@ -109,10 +108,6 @@ static ALCboolean pa_open_playback(ALCdevice *device, const ALCchar *deviceName)
outParams.sampleFormat = -1;
AL_PRINT("Unknown format?! %x\n", device->Format);
}
-
- periods = GetConfigValueInt("port", "periods", 4);
- if((int)periods <= 0)
- periods = 4;
outParams.channelCount = aluChannelsFromFormat(device->Format);
err = pPa_OpenStream(&data->stream, NULL, &outParams, device->Frequency,