Remove unneeded call.
This commit is contained in:
parent
014c3c90e0
commit
079a0100c0
|
@ -265,7 +265,6 @@ static void* dsound_init(const char *device, unsigned rate, unsigned latency)
|
|||
if (IDirectSound_CreateSoundBuffer(ds->ds, &bufdesc, &ds->dsb, 0) != DS_OK)
|
||||
goto error;
|
||||
|
||||
IDirectSoundBuffer_SetFrequency(ds->dsb, rate);
|
||||
IDirectSoundBuffer_SetCurrentPosition(ds->dsb, 0);
|
||||
|
||||
dsound_clear_buffer(ds);
|
||||
|
|
Loading…
Reference in New Issue