Skip to content

Commit

Permalink
Slightly tighter buffer handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Aug 5, 2011
1 parent 1e9316a commit 849d84a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/dsound.c
Expand Up @@ -68,8 +68,8 @@ static int ds_rsd_open(void* data, wav_header_t *w)
ds->fmt = w->rsd_format;
ds->conv = converter_fmt_to_s16ne(w->rsd_format);

ds->rings = 8;
ds->latency = DEFAULT_CHUNK_SIZE * 4;
ds->rings = 16;
ds->latency = DEFAULT_CHUNK_SIZE * 2;

WAVEFORMATEX wfx = {
.wFormatTag = WAVE_FORMAT_PCM,
Expand Down

0 comments on commit 849d84a

Please sign in to comment.