mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
33 lines
1.5 KiB
C
33 lines
1.5 KiB
C
/****************************************************************************
|
|
* *
|
|
* control.h *
|
|
* Control Interface *
|
|
* *
|
|
****************************************************************************/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int snd_cards( void );
|
|
unsigned int snd_cards_mask( void );
|
|
int snd_card_name( const char *name );
|
|
|
|
int snd_ctl_open( void **handle, int card );
|
|
int snd_ctl_close( void *handle );
|
|
int snd_ctl_file_descriptor( void *handle );
|
|
int snd_ctl_hw_info( void *handle, struct snd_ctl_hw_info *info );
|
|
int snd_ctl_switches( void *handle );
|
|
int snd_ctl_switch( void *handle, const char *channel_id );
|
|
int snd_ctl_switch_read( void *handle, int switchn, struct snd_ctl_switch *data );
|
|
int snd_ctl_switch_write( void *handle, int switchn, struct snd_ctl_switch *data );
|
|
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
|
|
}
|
|
#endif
|
|
|