mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Added functions:
snd_ctl_rawmidi_prefer_subdevice snd_rawmidi_open_subdevice Fixed functions: snd_pcm_hw_open - fixed prefer subdevice code
This commit is contained in:
parent
8a625fd63b
commit
0e561770c6
10 changed files with 93 additions and 9 deletions
|
|
@ -92,6 +92,7 @@ typedef struct {
|
|||
snd_pcm_info_t pcm_info;
|
||||
int pcm_prefer_subdevice;
|
||||
snd_rawmidi_info_t rawmidi_info;
|
||||
int rawmidi_prefer_subdevice;
|
||||
snd_ctl_event_t read;
|
||||
} u;
|
||||
char data[0];
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ int snd_ctl_hwdep_info(snd_ctl_t *handle, snd_hwdep_info_t * info);
|
|||
int snd_ctl_pcm_info(snd_ctl_t *handle, snd_pcm_info_t * info);
|
||||
int snd_ctl_pcm_prefer_subdevice(snd_ctl_t *handle, int subdev);
|
||||
int snd_ctl_rawmidi_info(snd_ctl_t *handle, snd_rawmidi_info_t * info);
|
||||
int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t *handle, int subdev);
|
||||
|
||||
int snd_ctl_read(snd_ctl_t *handle, snd_ctl_callbacks_t * callbacks);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ extern "C" {
|
|||
|
||||
typedef struct snd_rawmidi snd_rawmidi_t;
|
||||
|
||||
int snd_rawmidi_open_subdevice(snd_rawmidi_t **handle, int card, int device, int subdevice, int mode);
|
||||
int snd_rawmidi_open(snd_rawmidi_t **handle, int card, int device, int mode);
|
||||
int snd_rawmidi_close(snd_rawmidi_t *handle);
|
||||
int snd_rawmidi_poll_descriptor(snd_rawmidi_t *handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue