diff options
author | Chris Robinson <[email protected]> | 2008-01-06 01:14:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-06 01:14:09 -0800 |
commit | 8553fb9e30f79052e56986689256acd8f3517309 (patch) | |
tree | 4283662df21090aa254d946e742198d51f6cd76d /Alc/oss.c | |
parent | da3b27048886add6fb3101cf34f8b8ab165d51f7 (diff) |
ALC_REFRESH is the number of updates per second
Diffstat (limited to 'Alc/oss.c')
-rw-r--r-- | Alc/oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -406,7 +406,7 @@ static ALCboolean oss_open_capture(ALCdevice *device, const ALCchar *deviceName, device->UpdateFreq = info.fragsize / device->FrameSize; - data->data_size = device->UpdateFreq * device->FrameSize; + data->data_size = device->UpdateFreq * device->FrameSize * info.fragments; data->mix_data = calloc(1, data->data_size); device->ExtraData = data; |