mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Updated switches interfaces.
This commit is contained in:
parent
2de9a582aa
commit
e3aad51c38
10 changed files with 394 additions and 30 deletions
|
|
@ -25,6 +25,7 @@ int snd_ctl_pcm_info( void *handle, int dev, snd_pcm_info_t *info );
|
|||
int snd_ctl_pcm_playback_info( void *handle, int dev, snd_pcm_playback_info_t *info );
|
||||
int snd_ctl_pcm_record_info( void *handle, int dev, snd_pcm_record_info_t *info );
|
||||
int snd_ctl_mixer_info( void *handle, int dev, snd_mixer_info_t *info );
|
||||
int snd_ctl_rawmidi_info( void *handle, int dev, snd_rawmidi_info_t *info );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,4 +24,5 @@
|
|||
|
||||
#include <linux/sound.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,10 +20,14 @@ int snd_pcm_block_mode( void *handle, int enable );
|
|||
int snd_pcm_info( void *handle, snd_pcm_info_t *info );
|
||||
int snd_pcm_playback_info( void *handle, snd_pcm_playback_info_t *info );
|
||||
int snd_pcm_record_info( void *handle, snd_pcm_record_info_t *info );
|
||||
int snd_pcm_switches( void *handle );
|
||||
int snd_pcm_switch( void *handle, const char *switch_id );
|
||||
int snd_pcm_switch_read( void *handle, int switchn, snd_pcm_switch_t *data );
|
||||
int snd_pcm_switch_write( void *handle, int switchn, snd_pcm_switch_t *data );
|
||||
int snd_pcm_playback_switches( void *handle );
|
||||
int snd_pcm_playback_switch( void *handle, const char *switch_id );
|
||||
int snd_pcm_playback_switch_read( void *handle, int switchn, snd_pcm_switch_t *data );
|
||||
int snd_pcm_playback_switch_write( void *handle, int switchn, snd_pcm_switch_t *data );
|
||||
int snd_pcm_record_switches( void *handle );
|
||||
int snd_pcm_record_switch( void *handle, const char *switch_id );
|
||||
int snd_pcm_record_switch_read( void *handle, int switchn, snd_pcm_switch_t *data );
|
||||
int snd_pcm_record_switch_write( void *handle, int switchn, snd_pcm_switch_t *data );
|
||||
int snd_pcm_playback_format( void *handle, snd_pcm_format_t *format );
|
||||
int snd_pcm_record_format( void *handle, snd_pcm_format_t *format );
|
||||
int snd_pcm_playback_params( void *handle, snd_pcm_playback_params_t *params );
|
||||
|
|
|
|||
|
|
@ -18,10 +18,14 @@ int snd_rawmidi_close( void *handle );
|
|||
int snd_rawmidi_file_descriptor( void *handle );
|
||||
int snd_rawmidi_block_mode( void *handle, int enable );
|
||||
int snd_rawmidi_info( void *handle, snd_rawmidi_info_t *info );
|
||||
int snd_rawmidi_switches( void *handle );
|
||||
int snd_rawmidi_switch( void *handle, const char *switch_id );
|
||||
int snd_rawmidi_switch_read( void *handle, int switchn, snd_rawmidi_switch_t *data );
|
||||
int snd_rawmidi_switch_write( void *handle, int switchn, snd_rawmidi_switch_t *data );
|
||||
int snd_rawmidi_output_switches( void *handle );
|
||||
int snd_rawmidi_output_switch( void *handle, const char *switch_id );
|
||||
int snd_rawmidi_output_switch_read( void *handle, int switchn, snd_rawmidi_switch_t *data );
|
||||
int snd_rawmidi_output_switch_write( void *handle, int switchn, snd_rawmidi_switch_t *data );
|
||||
int snd_rawmidi_input_switches( void *handle );
|
||||
int snd_rawmidi_input_switch( void *handle, const char *switch_id );
|
||||
int snd_rawmidi_input_switch_read( void *handle, int switchn, snd_rawmidi_switch_t *data );
|
||||
int snd_rawmidi_input_switch_write( void *handle, int switchn, snd_rawmidi_switch_t *data );
|
||||
int snd_rawmidi_output_params( void *handle, snd_rawmidi_output_params_t *params );
|
||||
int snd_rawmidi_input_params( void *handle, snd_rawmidi_input_params_t *params );
|
||||
int snd_rawmidi_output_status( void *handle, snd_rawmidi_output_status_t *status );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue