xref: /openbmc/linux/sound/core/seq/seq_ump_convert.h (revision e2942062)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * ALSA sequencer event conversion between UMP and legacy clients
4  */
5 #ifndef __SEQ_UMP_CONVERT_H
6 #define __SEQ_UMP_CONVERT_H
7 
8 #include "seq_clientmgr.h"
9 #include "seq_ports.h"
10 
11 int snd_seq_deliver_from_ump(struct snd_seq_client *source,
12 			     struct snd_seq_client *dest,
13 			     struct snd_seq_client_port *dest_port,
14 			     struct snd_seq_event *event,
15 			     int atomic, int hop);
16 int snd_seq_deliver_to_ump(struct snd_seq_client *source,
17 			   struct snd_seq_client *dest,
18 			   struct snd_seq_client_port *dest_port,
19 			   struct snd_seq_event *event,
20 			   int atomic, int hop);
21 
22 #endif /* __SEQ_UMP_CONVERT_H */
23