Remove unneeded call.

This commit is contained in:
Themaister 2011-08-05 03:06:48 +02:00
parent 014c3c90e0
commit 079a0100c0

View File

@ -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);