31 #ifndef __ALSA_PCM_EXTPLUG_H 32 #define __ALSA_PCM_EXTPLUG_H 61 #define SND_PCM_EXTPLUG_VERSION_MAJOR 1 62 #define SND_PCM_EXTPLUG_VERSION_MINOR 0 63 #define SND_PCM_EXTPLUG_VERSION_TINY 2 67 #define SND_PCM_EXTPLUG_VERSION ((SND_PCM_EXTPLUG_VERSION_MAJOR<<16) |\ 68 (SND_PCM_EXTPLUG_VERSION_MINOR<<8) |\ 69 (SND_PCM_EXTPLUG_VERSION_TINY)) 193 static __inline__
int snd_pcm_extplug_set_param(
snd_pcm_extplug_t *extplug,
int type,
unsigned int val)
201 static __inline__
int snd_pcm_extplug_set_slave_param(
snd_pcm_extplug_t *extplug,
int type,
unsigned int val)
Definition: pcm_extplug.h:44
snd_pcm_format_t format
Definition: pcm_extplug.h:101
int snd_pcm_extplug_create(snd_pcm_extplug_t *ext, const char *name, snd_config_t *root, snd_config_t *slave_conf, snd_pcm_stream_t stream, int mode)
Create an extplug instance.
Definition: pcm_extplug.c:676
Definition: pcm_extplug.h:72
snd_pcm_extplug_callback snd_pcm_extplug_callback_t
Definition: pcm_extplug.h:55
snd_pcm_t * pcm
Definition: pcm_extplug.h:93
snd_pcm_subformat_t
Definition: pcm.h:284
struct _snd_pcm_hw_params snd_pcm_hw_params_t
Definition: pcm.h:64
int snd_pcm_extplug_set_slave_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
Set slave parameter as the list.
Definition: pcm_extplug.c:779
Definition: pcm_extplug.h:43
snd_pcm_format_t slave_format
Definition: pcm_extplug.h:117
int snd_pcm_extplug_set_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
Set master parameter as the list.
Definition: pcm_extplug.c:827
snd_pcm_format_t
Definition: pcm.h:125
long snd_pcm_sframes_t
Definition: pcm.h:376
snd_pcm_stream_t stream
Definition: pcm_extplug.h:97
unsigned int rate
Definition: pcm_extplug.h:113
snd_pcm_extplug snd_pcm_extplug_t
Definition: pcm_extplug.h:54
int snd_pcm_extplug_set_param_link(snd_pcm_extplug_t *extplug, int type, int keep_link)
Keep the client and slave format/channels the same if requested. This is for example useful if this e...
Definition: pcm_extplug.c:873
snd_pcm_subformat_t slave_subformat
Definition: pcm_extplug.h:121
struct _snd_output snd_output_t
Internal structure for an output object.
Definition: output.h:54
const snd_pcm_extplug_callback_t * callback
Definition: pcm_extplug.h:85
void snd_pcm_extplug_params_reset(snd_pcm_extplug_t *ext)
Reset extplug parameters.
Definition: pcm_extplug.c:761
unsigned int version
Definition: pcm_extplug.h:77
Definition: pcm_extplug.h:45
snd_pcm_subformat_t subformat
Definition: pcm_extplug.h:105
int snd_pcm_extplug_set_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max)
Set master parameter as the min/max values.
Definition: pcm_extplug.c:849
struct _snd_config snd_config_t
Internal structure for a configuration node object.
Definition: conf.h:69
unsigned int channels
Definition: pcm_extplug.h:109
void * private_data
Definition: pcm_extplug.h:89
int snd_pcm_extplug_set_slave_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max)
Set slave parameter as the min/max values.
Definition: pcm_extplug.c:801
Definition: pcm_extplug.h:129
unsigned long snd_pcm_uframes_t
Definition: pcm.h:374
snd_pcm_stream_t
Definition: pcm.h:101
unsigned int slave_channels
Definition: pcm_extplug.h:125
int snd_pcm_extplug_delete(snd_pcm_extplug_t *ext)
Delete the extplug instance.
Definition: pcm_extplug.c:749
struct _snd_pcm snd_pcm_t
Definition: pcm.h:394
const char * name
Definition: pcm_extplug.h:81