Added switches API and rawmidi API...

This commit is contained in:
Jaroslav Kysela 1998-08-27 20:47:51 +00:00
parent df8ab35aac
commit ef615c857f
13 changed files with 481 additions and 13 deletions

View file

@ -17,6 +17,10 @@ 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 );

View file

@ -20,6 +20,10 @@ 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_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 );

View file

@ -3,7 +3,7 @@
*/
#define SOUNDLIB_VERSION_MAJOR 0
#define SOUNDLIB_VERSION_MINOR 0
#define SOUNDLIB_VERSION_SUBMINOR 10
#define SOUNDLIB_VERSION_MINOR 1
#define SOUNDLIB_VERSION_SUBMINOR 0
#define SOUNDLIB_VERSION ( ( LIBULTRA_VERSION_MAJOR << 16 ) | ( LIBULTRA_VERSION_MINOR << 8 ) | LIB_ULTRA_VERSION_SUBMINOR )