commit | 1b98ea4791892399d8c23c93e117567eeff38887 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Mon Nov 21 07:31:31 2005 +0100 |
committer | Jaroslav Kysela <perex@suse.cz> | Tue Jan 03 12:29:25 2006 +0100 |
tree | 5128a11d23f34048e7d00f2915326f8e9e32bee5 | |
parent | 0ef797c5ca8a73853c827cf495caed44676cfe17 [diff] |
[ALSA] rawmidi: adjust runtime->avail when changing output buffer size Modules: RawMidi Midlevel When the output buffer size is changed, runtime->avail must be adjusted to the new size; otherwise, draining of a bigger buffer would appear to fail because avail does not reach buffer_size. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>