[ALSA] fix buffer wrap in snd_rawmidi_transmit_peek
RawMidi Midlevel
Fix the behaviour and return value of snd_rawmidi_transmit_peek
when the buffer wraps around.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Showing
Please register or sign in to comment