SND_PCM_OPEN_PLAYBACK
SND_PCM_OPEN_CAPTURE
SND_PCM_OPEN_DUPLEX
SND_PCM_OPEN_NONBLOCK
misc
Plug-In interface (ala C++)
typedef enum { INIT = 0, PREPARE = 1, DRAIN = 2, FLUSH = 3 }snd_pcm_plugin_action_t;
snd_pcm_plugin_extra_data(plugin)
snd_pcm_plugin_t *snd_pcm_plugin_build (const char *name, int extra)
int snd_pcm_plugin_free (snd_pcm_plugin_t * plugin)
int snd_pcm_plugin_clear (snd_pcm_t * handle, int channel)
int snd_pcm_plugin_insert (snd_pcm_t * handle, int channel, snd_pcm_plugin_t * plugin)
int snd_pcm_plugin_append (snd_pcm_t * handle, int channel, snd_pcm_plugin_t * plugin)
int snd_pcm_plugin_remove_to (snd_pcm_t * handle, int channel, snd_pcm_plugin_t * plugin)
int snd_pcm_plugin_remove_first (snd_pcm_t * handle, int channel)
snd_pcm_plugin_t *snd_pcm_plugin_first (snd_pcm_t * handle, int channel)
snd_pcm_plugin_t *snd_pcm_plugin_last (snd_pcm_t * handle, int channel)
ssize_t snd_pcm_plugin_transfer_size (snd_pcm_t * handle, int channel, size_t drv_size)
ssize_t snd_pcm_plugin_hardware_size (snd_pcm_t * handle, int channel, size_t trf_size)
int snd_pcm_plugin_info (snd_pcm_t * handle, snd_pcm_channel_info_t * info)
int snd_pcm_plugin_params (snd_pcm_t * handle, snd_pcm_channel_params_t * params)
int snd_pcm_plugin_setup (snd_pcm_t * handle, snd_pcm_channel_setup_t * setup)
int snd_pcm_plugin_status (snd_pcm_t * handle, snd_pcm_channel_status_t * status)
int snd_pcm_plugin_prepare (snd_pcm_t * handle, int channel)
int snd_pcm_plugin_drain_playback (snd_pcm_t * handle)
int snd_pcm_plugin_flush (snd_pcm_t * handle, int channel)
int snd_pcm_plugin_pointer (snd_pcm_t * pcm, int channel, void **ptr, size_t * size)
ssize_t snd_pcm_plugin_write (snd_pcm_t * handle, const void *buffer, size_t size)
ssize_t snd_pcm_plugin_read (snd_pcm_t * handle, void *bufer, size_t size)
Plug-In constructors
basic I/O
conversion plugins
Loopback interface
int snd_pcm_loopback_open (snd_pcm_loopback_t ** handle, int card, int device, int subdev, int mode)
int snd_pcm_loopback_close (snd_pcm_loopback_t * handle)
int snd_pcm_loopback_file_descriptor (snd_pcm_loopback_t * handle)
int snd_pcm_loopback_block_mode (snd_pcm_loopback_t * handle, int enable)
int snd_pcm_loopback_stream_mode (snd_pcm_loopback_t * handle, int mode)
int snd_pcm_loopback_format (snd_pcm_loopback_t * handle, snd_pcm_format_t * format)
int snd_pcm_loopback_status (snd_pcm_loopback_t * handle, snd_pcm_loopback_status_t * status)
ssize_t snd_pcm_loopback_read (snd_pcm_loopback_t * handle, snd_pcm_loopback_callbacks_t * callbacks)