aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-07 00:26:10 -0800
committerChris Robinson <[email protected]>2008-01-07 00:26:10 -0800
commit9c97f07ec9e5e72a8bfebffe05b7de5ce439d7f6 (patch)
treef9c2fa1db168e487a37e26fbfcb3247afa0c1e6b /Alc
parentf8acdc9497ee9fe9e437b0ab79f43e4b73bda4bb (diff)
Remove unneeded silence field
Diffstat (limited to 'Alc')
-rw-r--r--Alc/oss.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 26be11d7..77fe4192 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -55,7 +55,6 @@ typedef struct {
ALubyte *mix_data;
int data_size;
- int silence;
RingBuffer *ring;
int doCapture;
@@ -181,11 +180,9 @@ static ALCboolean oss_open_playback(ALCdevice *device, const ALCchar *deviceName
switch(aluBytesFromFormat(device->Format))
{
case 1:
- data->silence = 0x80;
ossFormat = AFMT_U8;
break;
case 2:
- data->silence = 0;
ossFormat = AFMT_S16_NE;
break;
default:
@@ -311,11 +308,9 @@ static ALCboolean oss_open_capture(ALCdevice *device, const ALCchar *deviceName,
switch(aluBytesFromFormat(format))
{
case 1:
- data->silence = 0x80;
ossFormat = AFMT_U8;
break;
case 2:
- data->silence = 0;
ossFormat = AFMT_S16_NE;
break;
default: