mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-15 22:05:18 -05:00
control: Add UMP Endpoint and Block info query support
Add functions to query the UMP Endpoint and Block info via control interface. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8bc10c83b1
commit
81b0cf46d1
6 changed files with 51 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ typedef struct _snd_ctl_ops {
|
|||
int (*rawmidi_info)(snd_ctl_t *handle, snd_rawmidi_info_t * info);
|
||||
int (*rawmidi_prefer_subdevice)(snd_ctl_t *handle, int subdev);
|
||||
int (*ump_next_device)(snd_ctl_t *handle, int *device);
|
||||
int (*ump_endpoint_info)(snd_ctl_t *handle, snd_ump_endpoint_info_t *info);
|
||||
int (*ump_block_info)(snd_ctl_t *handle, snd_ump_block_info_t *info);
|
||||
int (*set_power_state)(snd_ctl_t *handle, unsigned int state);
|
||||
int (*get_power_state)(snd_ctl_t *handle, unsigned int *state);
|
||||
int (*read)(snd_ctl_t *handle, snd_ctl_event_t *event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue