]> git.alsa-project.org Git - alsa-lib.git/commit
rawmidi: allocate the read buffer in the params call
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Oct 2021 12:33:29 +0000 (14:33 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 Oct 2021 06:40:20 +0000 (08:40 +0200)
commita6a22d82a068be01b0cabb9d87189b993c6a0fc5
tree4225d11976a3040f765c88ab817aeb7fbbde525d
parent392d5b06f8134fe9b408ef1d44e3227762371b52
rawmidi: allocate the read buffer in the params call

It is better to allocate the read buffer for the framing stream
in the params setup call.

Suggested-by: David Henningsson <coding@diwic.se>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/rawmidi/rawmidi_hw.c