mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Merged new-mixer branch...
This commit is contained in:
parent
e54aada1a6
commit
c0e741dd8a
12 changed files with 307 additions and 19 deletions
|
|
@ -8,8 +8,10 @@
|
|||
typedef struct snd_mixer_callbacks {
|
||||
void *private_data; /* should be used by application */
|
||||
void (*channel_was_changed) (void *private_data, int channel);
|
||||
void (*output_channel_was_changed) (void *private_data, int channel);
|
||||
void (*input_channel_was_changed) (void *private_data, int channel);
|
||||
void (*switch_was_changed) (void *private_data, int switchn);
|
||||
void *reserved[14]; /* reserved for future use - must be NULL!!! */
|
||||
void *reserved[15]; /* reserved for future use - must be NULL!!! */
|
||||
} snd_mixer_callbacks_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
@ -24,10 +26,14 @@ int snd_mixer_info(void *handle, snd_mixer_info_t * info);
|
|||
int snd_mixer_exact_mode(void *handle, int enable);
|
||||
int snd_mixer_channel(void *handle, const char *channel_id);
|
||||
int snd_mixer_channel_info(void *handle, int channel, snd_mixer_channel_info_t * info);
|
||||
int snd_mixer_channel_output_info(void *handle, int channel, snd_mixer_channel_direction_info_t * info);
|
||||
int snd_mixer_channel_input_info(void *handle, int channel, snd_mixer_channel_direction_info_t * info);
|
||||
int snd_mixer_channel_read(void *handle, int channel, snd_mixer_channel_t * data);
|
||||
int snd_mixer_channel_write(void *handle, int channel, snd_mixer_channel_t * data);
|
||||
int snd_mixer_channel_record_read(void *handle, int channel, snd_mixer_channel_t * data);
|
||||
int snd_mixer_channel_record_write(void *handle, int channel, snd_mixer_channel_t * data);
|
||||
int snd_mixer_channel_output_read(void *handle, int channel, snd_mixer_channel_direction_t * data);
|
||||
int snd_mixer_channel_output_write(void *handle, int channel, snd_mixer_channel_direction_t * data);
|
||||
int snd_mixer_channel_input_read(void *handle, int channel, snd_mixer_channel_direction_t * data);
|
||||
int snd_mixer_channel_input_write(void *handle, int channel, snd_mixer_channel_direction_t * data);
|
||||
int snd_mixer_switches(void *handle);
|
||||
int snd_mixer_switch_read(void *handle, int switchn, snd_mixer_switch_t * data);
|
||||
int snd_mixer_switch_write(void *handle, int switchn, snd_mixer_switch_t * data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue