mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
ALSA: seq: Add snd_seq_expand_var_event_at() helper
Create a new variant of snd_seq_expand_var_event() for expanding the data starting from the given byte offset. It'll be used by the new UMP sequencer code later. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20230523075358.9672-19-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -70,6 +70,8 @@ int snd_seq_kernel_client_ctl(int client, unsigned int cmd, void *arg);
|
||||
typedef int (*snd_seq_dump_func_t)(void *ptr, void *buf, int count);
|
||||
int snd_seq_expand_var_event(const struct snd_seq_event *event, int count, char *buf,
|
||||
int in_kernel, int size_aligned);
|
||||
int snd_seq_expand_var_event_at(const struct snd_seq_event *event, int count,
|
||||
char *buf, int offset);
|
||||
int snd_seq_dump_var_event(const struct snd_seq_event *event,
|
||||
snd_seq_dump_func_t func, void *private_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user