mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-10 04:27:43 -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
|
|
@ -418,6 +418,8 @@ int snd_ctl_rawmidi_next_device(snd_ctl_t *ctl, int * device);
|
|||
int snd_ctl_rawmidi_info(snd_ctl_t *ctl, snd_rawmidi_info_t * info);
|
||||
int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev);
|
||||
int snd_ctl_ump_next_device(snd_ctl_t *ctl, int *device);
|
||||
int snd_ctl_ump_endpoint_info(snd_ctl_t *ctl, snd_ump_endpoint_info_t *info);
|
||||
int snd_ctl_ump_block_info(snd_ctl_t *ctl, snd_ump_block_info_t *info);
|
||||
#endif
|
||||
int snd_ctl_set_power_state(snd_ctl_t *ctl, unsigned int state);
|
||||
int snd_ctl_get_power_state(snd_ctl_t *ctl, unsigned int *state);
|
||||
|
|
|
|||
|
|
@ -180,6 +180,7 @@
|
|||
#include "pcm.h"
|
||||
#include "pcm_plugin.h"
|
||||
#include "rawmidi.h"
|
||||
#include "ump.h"
|
||||
#include "timer.h"
|
||||
#include "hwdep.h"
|
||||
#include "control.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue