diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/padsp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/padsp.c b/src/utils/padsp.c index e25fdfd8..56acbb28 100644 --- a/src/utils/padsp.c +++ b/src/utils/padsp.c @@ -1839,7 +1839,11 @@ static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno) i->fragment_size = 1 << (*(int*) argp); i->n_fragments = (*(int*) argp) >> 16; - + + /* 0x7FFF means that we can set whatever we like */ + if (i->n_fragments == 0x7FFF) + i->n_fragments = 12; + free_streams(i); pa_threaded_mainloop_unlock(i->mainloop); |