]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/sound/rawmidi.h
ALSA: rawmidi: Make snd_rawmidi_transmit() race-free
[karo-tx-linux.git] / include / sound / rawmidi.h
index f6cbef78db620f2ff85c02126f9a9518553cf2c1..3b91ad5d5115898772490eb72852c1d131e8d4cf 100644 (file)
@@ -167,6 +167,10 @@ int snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream,
 int snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream, int count);
 int snd_rawmidi_transmit(struct snd_rawmidi_substream *substream,
                         unsigned char *buffer, int count);
+int __snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream,
+                             unsigned char *buffer, int count);
+int __snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream,
+                              int count);
 
 /* main midi functions */