Go to the source code of this file.
Data Structures | |
| struct | _snd_pcm_channel_area |
| union | _snd_pcm_sync_id |
| struct | _snd_pcm_scope_ops |
Defines | |
| #define | SND_PCM_DLSYM_VERSION _dlsym_pcm_001 |
| #define | SND_PCM_NONBLOCK |
| #define | SND_PCM_ASYNC |
| #define | SND_PCM_NO_AUTO_RESAMPLE 0x00010000 |
| #define | SND_PCM_NO_AUTO_CHANNELS 0x00020000 |
| #define | SND_PCM_NO_AUTO_FORMAT 0x00040000 |
| #define | SND_PCM_NO_SOFTVOL 0x00080000 |
| #define | snd_pcm_info_alloca(ptr) |
| allocate an invalid snd_pcm_info_t using standard alloca | |
| #define | snd_pcm_hw_params_alloca(ptr) |
| allocate an invalid snd_pcm_hw_params_t using standard alloca | |
| #define | snd_pcm_sw_params_alloca(ptr) |
| allocate an invalid snd_pcm_sw_params_t using standard alloca | |
| #define | snd_pcm_access_mask_alloca(ptr) |
| allocate an empty snd_pcm_access_mask_t using standard alloca | |
| #define | snd_pcm_format_mask_alloca(ptr) |
| allocate an empty snd_pcm_format_mask_t using standard alloca | |
| #define | snd_pcm_subformat_mask_alloca(ptr) |
| allocate an empty snd_pcm_subformat_mask_t using standard alloca | |
| #define | snd_pcm_status_alloca(ptr) |
| allocate an invalid snd_pcm_status_t using standard alloca | |
Typedefs | |
| typedef _snd_pcm_info | snd_pcm_info_t |
| typedef _snd_pcm_hw_params | snd_pcm_hw_params_t |
| typedef _snd_pcm_sw_params | snd_pcm_sw_params_t |
| typedef _snd_pcm_status | snd_pcm_status_t |
| typedef _snd_pcm_access_mask | snd_pcm_access_mask_t |
| typedef _snd_pcm_format_mask | snd_pcm_format_mask_t |
| typedef _snd_pcm_subformat_mask | snd_pcm_subformat_mask_t |
| typedef enum _snd_pcm_class | snd_pcm_class_t |
| typedef enum _snd_pcm_subclass | snd_pcm_subclass_t |
| typedef enum _snd_pcm_stream | snd_pcm_stream_t |
| typedef enum _snd_pcm_access | snd_pcm_access_t |
| typedef enum _snd_pcm_format | snd_pcm_format_t |
| typedef enum _snd_pcm_subformat | snd_pcm_subformat_t |
| typedef enum _snd_pcm_state | snd_pcm_state_t |
| typedef enum _snd_pcm_start | snd_pcm_start_t |
| typedef enum _snd_pcm_xrun | snd_pcm_xrun_t |
| typedef enum _snd_pcm_tstamp | snd_pcm_tstamp_t |
| typedef unsigned long | snd_pcm_uframes_t |
| typedef long | snd_pcm_sframes_t |
| typedef _snd_pcm | snd_pcm_t |
| typedef enum _snd_pcm_type | snd_pcm_type_t |
| typedef _snd_pcm_channel_area | snd_pcm_channel_area_t |
| typedef _snd_pcm_sync_id | snd_pcm_sync_id_t |
| typedef _snd_pcm_scope | snd_pcm_scope_t |
| typedef enum _snd_pcm_hook_type | snd_pcm_hook_type_t |
| typedef _snd_pcm_hook | snd_pcm_hook_t |
| typedef int(*) | snd_pcm_hook_func_t (snd_pcm_hook_t *hook) |
| typedef _snd_pcm_scope_ops | snd_pcm_scope_ops_t |
| typedef enum _snd_spcm_latency | snd_spcm_latency_t |
| typedef enum _snd_spcm_xrun_type | snd_spcm_xrun_type_t |
| typedef enum _snd_spcm_duplex_type | snd_spcm_duplex_type_t |
Enumerations | |
| enum | _snd_pcm_class { SND_PCM_CLASS_GENERIC = 0, SND_PCM_CLASS_MULTI, SND_PCM_CLASS_MODEM, SND_PCM_CLASS_DIGITIZER, SND_PCM_CLASS_LAST = SND_PCM_CLASS_DIGITIZER } |
| enum | _snd_pcm_subclass { SND_PCM_SUBCLASS_GENERIC_MIX = 0, SND_PCM_SUBCLASS_MULTI_MIX, SND_PCM_SUBCLASS_LAST = SND_PCM_SUBCLASS_MULTI_MIX } |
| enum | _snd_pcm_stream { SND_PCM_STREAM_PLAYBACK = 0, SND_PCM_STREAM_CAPTURE, SND_PCM_STREAM_LAST = SND_PCM_STREAM_CAPTURE } |
| enum | _snd_pcm_access { SND_PCM_ACCESS_MMAP_INTERLEAVED = 0, SND_PCM_ACCESS_MMAP_NONINTERLEAVED, SND_PCM_ACCESS_MMAP_COMPLEX, SND_PCM_ACCESS_RW_INTERLEAVED, SND_PCM_ACCESS_RW_NONINTERLEAVED, SND_PCM_ACCESS_LAST = SND_PCM_ACCESS_RW_NONINTERLEAVED } |
| enum | _snd_pcm_format { SND_PCM_FORMAT_UNKNOWN = -1, SND_PCM_FORMAT_S8 = 0, SND_PCM_FORMAT_U8, SND_PCM_FORMAT_S16_LE, SND_PCM_FORMAT_S16_BE, SND_PCM_FORMAT_U16_LE, SND_PCM_FORMAT_U16_BE, SND_PCM_FORMAT_S24_LE, SND_PCM_FORMAT_S24_BE, SND_PCM_FORMAT_U24_LE, SND_PCM_FORMAT_U24_BE, SND_PCM_FORMAT_S32_LE, SND_PCM_FORMAT_S32_BE, SND_PCM_FORMAT_U32_LE, SND_PCM_FORMAT_U32_BE, SND_PCM_FORMAT_FLOAT_LE, SND_PCM_FORMAT_FLOAT_BE, SND_PCM_FORMAT_FLOAT64_LE, SND_PCM_FORMAT_FLOAT64_BE, SND_PCM_FORMAT_IEC958_SUBFRAME_LE, SND_PCM_FORMAT_IEC958_SUBFRAME_BE, SND_PCM_FORMAT_MU_LAW, SND_PCM_FORMAT_A_LAW, SND_PCM_FORMAT_IMA_ADPCM, SND_PCM_FORMAT_MPEG, SND_PCM_FORMAT_GSM, SND_PCM_FORMAT_SPECIAL = 31, SND_PCM_FORMAT_S24_3LE = 32, SND_PCM_FORMAT_S24_3BE, SND_PCM_FORMAT_U24_3LE, SND_PCM_FORMAT_U24_3BE, SND_PCM_FORMAT_S20_3LE, SND_PCM_FORMAT_S20_3BE, SND_PCM_FORMAT_U20_3LE, SND_PCM_FORMAT_U20_3BE, SND_PCM_FORMAT_S18_3LE, SND_PCM_FORMAT_S18_3BE, SND_PCM_FORMAT_U18_3LE, SND_PCM_FORMAT_U18_3BE, SND_PCM_FORMAT_LAST = SND_PCM_FORMAT_U18_3BE, SND_PCM_FORMAT_S16 = SND_PCM_FORMAT_S16_LE, SND_PCM_FORMAT_U16 = SND_PCM_FORMAT_U16_LE, SND_PCM_FORMAT_S24 = SND_PCM_FORMAT_S24_LE, SND_PCM_FORMAT_U24 = SND_PCM_FORMAT_U24_LE, SND_PCM_FORMAT_S32 = SND_PCM_FORMAT_S32_LE, SND_PCM_FORMAT_U32 = SND_PCM_FORMAT_U32_LE, SND_PCM_FORMAT_FLOAT = SND_PCM_FORMAT_FLOAT_LE, SND_PCM_FORMAT_FLOAT64 = SND_PCM_FORMAT_FLOAT64_LE, SND_PCM_FORMAT_IEC958_SUBFRAME = SND_PCM_FORMAT_IEC958_SUBFRAME_LE } |
| enum | _snd_pcm_subformat { SND_PCM_SUBFORMAT_STD = 0, SND_PCM_SUBFORMAT_LAST = SND_PCM_SUBFORMAT_STD } |
| enum | _snd_pcm_state { SND_PCM_STATE_OPEN = 0, SND_PCM_STATE_SETUP, SND_PCM_STATE_PREPARED, SND_PCM_STATE_RUNNING, SND_PCM_STATE_XRUN, SND_PCM_STATE_DRAINING, SND_PCM_STATE_PAUSED, SND_PCM_STATE_SUSPENDED, SND_PCM_STATE_DISCONNECTED, SND_PCM_STATE_LAST = SND_PCM_STATE_DISCONNECTED } |
| enum | _snd_pcm_start { SND_PCM_START_DATA = 0, SND_PCM_START_EXPLICIT, SND_PCM_START_LAST = SND_PCM_START_EXPLICIT } |
| enum | _snd_pcm_xrun { SND_PCM_XRUN_NONE = 0, SND_PCM_XRUN_STOP, SND_PCM_XRUN_LAST = SND_PCM_XRUN_STOP } |
| enum | _snd_pcm_tstamp { SND_PCM_TSTAMP_NONE = 0, SND_PCM_TSTAMP_ENABLE, SND_PCM_TSTAMP_MMAP = SND_PCM_TSTAMP_ENABLE, SND_PCM_TSTAMP_LAST = SND_PCM_TSTAMP_ENABLE } |
| enum | _snd_pcm_type { SND_PCM_TYPE_HW = 0, SND_PCM_TYPE_HOOKS, SND_PCM_TYPE_MULTI, SND_PCM_TYPE_FILE, SND_PCM_TYPE_NULL, SND_PCM_TYPE_SHM, SND_PCM_TYPE_INET, SND_PCM_TYPE_COPY, SND_PCM_TYPE_LINEAR, SND_PCM_TYPE_ALAW, SND_PCM_TYPE_MULAW, SND_PCM_TYPE_ADPCM, SND_PCM_TYPE_RATE, SND_PCM_TYPE_ROUTE, SND_PCM_TYPE_PLUG, SND_PCM_TYPE_SHARE, SND_PCM_TYPE_METER, SND_PCM_TYPE_MIX, SND_PCM_TYPE_DROUTE, SND_PCM_TYPE_LBSERVER, SND_PCM_TYPE_LINEAR_FLOAT, SND_PCM_TYPE_LADSPA, SND_PCM_TYPE_DMIX, SND_PCM_TYPE_JACK, SND_PCM_TYPE_DSNOOP, SND_PCM_TYPE_DSHARE, SND_PCM_TYPE_IEC958, SND_PCM_TYPE_SOFTVOL, SND_PCM_TYPE_IOPLUG, SND_PCM_TYPE_EXTPLUG, SND_PCM_TYPE_MMAP_EMUL, SND_PCM_TYPE_LAST = SND_PCM_TYPE_MMAP_EMUL } |
| enum | _snd_pcm_hook_type { SND_PCM_HOOK_TYPE_HW_PARAMS = 0, SND_PCM_HOOK_TYPE_HW_FREE, SND_PCM_HOOK_TYPE_CLOSE, SND_PCM_HOOK_TYPE_LAST = SND_PCM_HOOK_TYPE_CLOSE } |
| enum | _snd_spcm_latency { SND_SPCM_LATENCY_STANDARD = 0, SND_SPCM_LATENCY_MEDIUM, SND_SPCM_LATENCY_REALTIME } |
| enum | _snd_spcm_xrun_type { SND_SPCM_XRUN_IGNORE = 0, SND_SPCM_XRUN_STOP } |
| enum | _snd_spcm_duplex_type { SND_SPCM_DUPLEX_LIBERAL = 0, SND_SPCM_DUPLEX_PEDANTIC } |
Functions | |
| int | snd_pcm_open (snd_pcm_t **pcm, const char *name, snd_pcm_stream_t stream, int mode) |
| Opens a PCM. | |
| int | snd_pcm_open_lconf (snd_pcm_t **pcm, const char *name, snd_pcm_stream_t stream, int mode, snd_config_t *lconf) |
| Opens a PCM using local configuration. | |
| int | snd_pcm_close (snd_pcm_t *pcm) |
| close PCM handle | |
| const char * | snd_pcm_name (snd_pcm_t *pcm) |
| get identifier of PCM handle | |
| snd_pcm_type_t | snd_pcm_type (snd_pcm_t *pcm) |
| get type of PCM handle | |
| snd_pcm_stream_t | snd_pcm_stream (snd_pcm_t *pcm) |
| get stream for a PCM handle | |
| int | snd_pcm_poll_descriptors_count (snd_pcm_t *pcm) |
| get count of poll descriptors for PCM handle | |
| int | snd_pcm_poll_descriptors (snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) |
| get poll descriptors | |
| int | snd_pcm_poll_descriptors_revents (snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) |
| get returned events from poll descriptors | |
| int | snd_pcm_nonblock (snd_pcm_t *pcm, int nonblock) |
| set nonblock mode | |
| int | snd_async_add_pcm_handler (snd_async_handler_t **handler, snd_pcm_t *pcm, snd_async_callback_t callback, void *private_data) |
| Add an async handler for a PCM. | |
| snd_pcm_t * | snd_async_handler_get_pcm (snd_async_handler_t *handler) |
| Return PCM handle related to an async handler. | |
| int | snd_pcm_info (snd_pcm_t *pcm, snd_pcm_info_t *info) |
| Obtain general (static) information for PCM handle. | |
| int | snd_pcm_hw_params_current (snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
| Retreive current PCM hardware configuration chosen with snd_pcm_hw_params. | |
| int | snd_pcm_hw_params (snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
| Install one PCM hardware configuration chosen from a configuration space and snd_pcm_prepare it. | |
| int | snd_pcm_hw_free (snd_pcm_t *pcm) |
| Remove PCM hardware configuration and free associated resources. | |
| int | snd_pcm_sw_params_current (snd_pcm_t *pcm, snd_pcm_sw_params_t *params) |
| Return current software configuration for a PCM. | |
| int | snd_pcm_sw_params (snd_pcm_t *pcm, snd_pcm_sw_params_t *params) |
| Install PCM software configuration defined by params. | |
| int | snd_pcm_prepare (snd_pcm_t *pcm) |
| Prepare PCM for use. | |
| int | snd_pcm_reset (snd_pcm_t *pcm) |
| Reset PCM position. | |
| int | snd_pcm_status (snd_pcm_t *pcm, snd_pcm_status_t *status) |
| Obtain status (runtime) information for PCM handle. | |
| int | snd_pcm_start (snd_pcm_t *pcm) |
| Start a PCM. | |
| int | snd_pcm_drop (snd_pcm_t *pcm) |
| Stop a PCM dropping pending frames. | |
| int | snd_pcm_drain (snd_pcm_t *pcm) |
| Stop a PCM preserving pending frames. | |
| int | snd_pcm_pause (snd_pcm_t *pcm, int enable) |
| Pause/resume PCM. | |
| snd_pcm_state_t | snd_pcm_state (snd_pcm_t *pcm) |
| Return PCM state. | |
| int | snd_pcm_hwsync (snd_pcm_t *pcm) |
| (DEPRECATED) Synchronize stream position with hardware | |
| int | snd_pcm_delay (snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) |
| Obtain delay for a running PCM handle. | |
| int | snd_pcm_resume (snd_pcm_t *pcm) |
| Resume from suspend, no samples are lost. | |
| int | snd_pcm_htimestamp (snd_pcm_t *pcm, snd_pcm_uframes_t *avail, snd_htimestamp_t *tstamp) |
| Obtain last position update hi-res timestamp. | |
| snd_pcm_sframes_t | snd_pcm_avail_update (snd_pcm_t *pcm) |
| Return number of frames ready to be read (capture) / written (playback). | |
| snd_pcm_sframes_t | snd_pcm_rewindable (snd_pcm_t *pcm) |
| Get safe count of frames which can be rewinded. | |
| snd_pcm_sframes_t | snd_pcm_rewind (snd_pcm_t *pcm, snd_pcm_uframes_t frames) |
| Move application frame position backward. | |
| snd_pcm_sframes_t | snd_pcm_forwardable (snd_pcm_t *pcm) |
| Get safe count of frames which can be forwarded. | |
| snd_pcm_sframes_t | snd_pcm_forward (snd_pcm_t *pcm, snd_pcm_uframes_t frames) |
| Move application frame position forward. | |
| snd_pcm_sframes_t | snd_pcm_writei (snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) |
| Write interleaved frames to a PCM. | |
| snd_pcm_sframes_t | snd_pcm_readi (snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size) |
| Read interleaved frames from a PCM. | |
| snd_pcm_sframes_t | snd_pcm_writen (snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size) |
| Write non interleaved frames to a PCM. | |
| snd_pcm_sframes_t | snd_pcm_readn (snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size) |
| Read non interleaved frames to a PCM. | |
| int | snd_pcm_wait (snd_pcm_t *pcm, int timeout) |
| Wait for a PCM to become ready. | |
| int | snd_pcm_link (snd_pcm_t *pcm1, snd_pcm_t *pcm2) |
| Link two PCMs. | |
| int | snd_pcm_unlink (snd_pcm_t *pcm) |
| Remove a PCM from a linked group. | |
| int | snd_pcm_recover (snd_pcm_t *pcm, int err, int silent) |
| Recover the stream state from an error or suspend. | |
| int | snd_pcm_set_params (snd_pcm_t *pcm, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) |
| Set the hardware and software parameters in a simple way. | |
| int | snd_pcm_get_params (snd_pcm_t *pcm, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t *period_size) |
| Get the transfer size parameters in a simple way. | |
| size_t | snd_pcm_info_sizeof (void) |
| get size of snd_pcm_info_t | |
| int | snd_pcm_info_malloc (snd_pcm_info_t **ptr) |
| allocate an invalid snd_pcm_info_t using standard malloc | |
| void | snd_pcm_info_free (snd_pcm_info_t *obj) |
| frees a previously allocated snd_pcm_info_t | |
| void | snd_pcm_info_copy (snd_pcm_info_t *dst, const snd_pcm_info_t *src) |
| copy one snd_pcm_info_t to another | |
| unsigned int | snd_pcm_info_get_device (const snd_pcm_info_t *obj) |
| Get device from a PCM info container. | |
| unsigned int | snd_pcm_info_get_subdevice (const snd_pcm_info_t *obj) |
| Get subdevice from a PCM info container. | |
| snd_pcm_stream_t | snd_pcm_info_get_stream (const snd_pcm_info_t *obj) |
| Get stream (direction) from a PCM info container. | |
| int | snd_pcm_info_get_card (const snd_pcm_info_t *obj) |
| Get card from a PCM info container. | |
| const char * | snd_pcm_info_get_id (const snd_pcm_info_t *obj) |
| Get id from a PCM info container. | |
| const char * | snd_pcm_info_get_name (const snd_pcm_info_t *obj) |
| Get name from a PCM info container. | |
| const char * | snd_pcm_info_get_subdevice_name (const snd_pcm_info_t *obj) |
| Get subdevice name from a PCM info container. | |
| snd_pcm_class_t | snd_pcm_info_get_class (const snd_pcm_info_t *obj) |
| Get class from a PCM info container. | |
| snd_pcm_subclass_t | snd_pcm_info_get_subclass (const snd_pcm_info_t *obj) |
| Get subclass from a PCM info container. | |
| unsigned int | snd_pcm_info_get_subdevices_count (const snd_pcm_info_t *obj) |
| Get subdevices count from a PCM info container. | |
| unsigned int | snd_pcm_info_get_subdevices_avail (const snd_pcm_info_t *obj) |
| Get available subdevices count from a PCM info container. | |
| snd_pcm_sync_id_t | snd_pcm_info_get_sync (const snd_pcm_info_t *obj) |
| Get hardware synchronization ID from a PCM info container. | |
| void | snd_pcm_info_set_device (snd_pcm_info_t *obj, unsigned int val) |
| Set wanted device inside a PCM info container (see snd_ctl_pcm_info). | |
| void | snd_pcm_info_set_subdevice (snd_pcm_info_t *obj, unsigned int val) |
| Set wanted subdevice inside a PCM info container (see snd_ctl_pcm_info). | |
| void | snd_pcm_info_set_stream (snd_pcm_info_t *obj, snd_pcm_stream_t val) |
| Set wanted stream inside a PCM info container (see snd_ctl_pcm_info). | |
| int | snd_pcm_hw_params_any (snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
| Fill params with a full configuration space for a PCM. | |
| int | snd_pcm_hw_params_can_mmap_sample_resolution (const snd_pcm_hw_params_t *params) |
| Check, if hardware supports sample-resolution mmap for given configuration. | |
| int | snd_pcm_hw_params_is_double (const snd_pcm_hw_params_t *params) |
| Check, if hardware does double buffering for start/stop for given configuration. | |
| int | snd_pcm_hw_params_is_batch (const snd_pcm_hw_params_t *params) |
| Check, if hardware does double buffering for data transfers for given configuration. | |
| int | snd_pcm_hw_params_is_block_transfer (const snd_pcm_hw_params_t *params) |
| Check, if hardware does block transfers for samples for given configuration. | |
| int | snd_pcm_hw_params_is_monotonic (const snd_pcm_hw_params_t *params) |
| Check, if timestamps are monotonic for given configuration. | |
| int | snd_pcm_hw_params_can_overrange (const snd_pcm_hw_params_t *params) |
| Check, if hardware supports overrange detection. | |
| int | snd_pcm_hw_params_can_forward (const snd_pcm_hw_params_t *params) |
| int | snd_pcm_hw_params_can_rewind (const snd_pcm_hw_params_t *params) |
| int | snd_pcm_hw_params_can_pause (const snd_pcm_hw_params_t *params) |
| Check, if hardware supports pause. | |
| int | snd_pcm_hw_params_can_resume (const snd_pcm_hw_params_t *params) |
| Check, if hardware supports resume. | |
| int | snd_pcm_hw_params_is_half_duplex (const snd_pcm_hw_params_t *params) |
| Check, if hardware does half-duplex only. | |
| int | snd_pcm_hw_params_is_joint_duplex (const snd_pcm_hw_params_t *params) |
| Check, if hardware does joint-duplex (playback and capture are somewhat correlated). | |
| int | snd_pcm_hw_params_can_sync_start (const snd_pcm_hw_params_t *params) |
| Check, if hardware supports synchronized start with sample resolution. | |
| int | snd_pcm_hw_params_get_rate_numden (const snd_pcm_hw_params_t *params, unsigned int *rate_num, unsigned int *rate_den) |
| Get rate exact info from a configuration space. | |
| int | snd_pcm_hw_params_get_sbits (const snd_pcm_hw_params_t *params) |
| Get sample resolution info from a configuration space. | |
| int | snd_pcm_hw_params_get_fifo_size (const snd_pcm_hw_params_t *params) |
| Get hard are FIFO size info from a configuration space. | |
| size_t | snd_pcm_hw_params_sizeof (void) |
| get size of snd_pcm_hw_params_t | |
| int | snd_pcm_hw_params_malloc (snd_pcm_hw_params_t **ptr) |
| allocate an invalid snd_pcm_hw_params_t using standard malloc | |
| void | snd_pcm_hw_params_free (snd_pcm_hw_params_t *obj) |
| frees a previously allocated snd_pcm_hw_params_t | |
| void | snd_pcm_hw_params_copy (snd_pcm_hw_params_t *dst, const snd_pcm_hw_params_t *src) |
| copy one snd_pcm_hw_params_t to another | |
| int | snd_pcm_hw_params_get_access (const snd_pcm_hw_params_t *params, snd_pcm_access_t *_access) |
| Extract access type from a configuration space. | |
| int | snd_pcm_hw_params_test_access (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t _access) |
| Verify if an access type is available inside a configuration space for a PCM. | |
| int | snd_pcm_hw_params_set_access (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t _access) |
| Restrict a configuration space to contain only one access type. | |
| int | snd_pcm_hw_params_set_access_first (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *_access) |
| Restrict a configuration space to contain only its first access type. | |
| int | snd_pcm_hw_params_set_access_last (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *_access) |
| Restrict a configuration space to contain only its last access type. | |
| int | snd_pcm_hw_params_set_access_mask (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_mask_t *mask) |
| Restrict a configuration space to contain only a set of access types. | |
| int | snd_pcm_hw_params_get_access_mask (snd_pcm_hw_params_t *params, snd_pcm_access_mask_t *mask) |
| Get access mask from a configuration space. | |
| int | snd_pcm_hw_params_get_format (const snd_pcm_hw_params_t *params, snd_pcm_format_t *val) |
| Extract format from a configuration space. | |
| int | snd_pcm_hw_params_test_format (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val) |
| Verify if a format is available inside a configuration space for a PCM. | |
| int | snd_pcm_hw_params_set_format (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val) |
| Restrict a configuration space to contain only one format. | |
| int | snd_pcm_hw_params_set_format_first (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format) |
| Restrict a configuration space to contain only its first format. | |
| int | snd_pcm_hw_params_set_format_last (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format) |
| Restrict a configuration space to contain only its last format. | |
| int | snd_pcm_hw_params_set_format_mask (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_mask_t *mask) |
| Restrict a configuration space to contain only a set of formats. | |
| void | snd_pcm_hw_params_get_format_mask (snd_pcm_hw_params_t *params, snd_pcm_format_mask_t *mask) |
| Get format mask from a configuration space. | |
| int | snd_pcm_hw_params_get_subformat (const snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat) |
| Extract subformat from a configuration space. | |
| int | snd_pcm_hw_params_test_subformat (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t subformat) |
| Verify if a subformat is available inside a configuration space for a PCM. | |
| int | snd_pcm_hw_params_set_subformat (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t subformat) |
| Restrict a configuration space to contain only one subformat. | |
| int | snd_pcm_hw_params_set_subformat_first (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat) |
| Restrict a configuration space to contain only its first subformat. | |
| int | snd_pcm_hw_params_set_subformat_last (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat) |
| Restrict a configuration space to contain only its last subformat. | |
| int | snd_pcm_hw_params_set_subformat_mask (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_mask_t *mask) |
| Restrict a configuration space to contain only a set of subformats. | |
| void | snd_pcm_hw_params_get_subformat_mask (snd_pcm_hw_params_t *params, snd_pcm_subformat_mask_t *mask) |
| Get subformat mask from a configuration space. | |
| int | snd_pcm_hw_params_get_channels (const snd_pcm_hw_params_t *params, unsigned int *val) |
| Extract channels from a configuration space. | |
| int | snd_pcm_hw_params_get_channels_min (const snd_pcm_hw_params_t *params, unsigned int *val) |
| Extract minimum channels count from a configuration space. | |
| int | snd_pcm_hw_params_get_channels_max (const snd_pcm_hw_params_t *params, unsigned int *val) |
| Extract maximum channels count from a configuration space. | |
| int | snd_pcm_hw_params_test_channels (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) |
| Verify if a channels count is available inside a configuration space for a PCM. | |
| int | snd_pcm_hw_params_set_channels (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) |
| Restrict a configuration space to contain only one channels count. | |
| int | snd_pcm_hw_params_set_channels_min (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Restrict a configuration space with a minimum channels count. | |
| int | snd_pcm_hw_params_set_channels_max (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Restrict a configuration space with a maximum channels count. | |
| int | snd_pcm_hw_params_set_channels_minmax (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, unsigned int *max) |
| Restrict a configuration space to have channels counts in a given range. | |
| int | snd_pcm_hw_params_set_channels_near (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Restrict a configuration space to have channels count nearest to a target. | |
| int | snd_pcm_hw_params_set_channels_first (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Restrict a configuration space to contain only its minimum channels count. | |
| int | snd_pcm_hw_params_set_channels_last (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Restrict a configuration space to contain only its maximum channels count. | |
| int | snd_pcm_hw_params_get_rate (const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Extract rate from a configuration space. | |
| int | snd_pcm_hw_params_get_rate_min (const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Extract minimum rate from a configuration space. | |
| int | snd_pcm_hw_params_get_rate_max (const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Extract maximum rate from a configuration space. | |
| int | snd_pcm_hw_params_test_rate (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) |
| Verify if a rate is available inside a configuration space for a PCM. | |
| int | snd_pcm_hw_params_set_rate (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) |
| Restrict a configuration space to contain only one rate. | |
| int | snd_pcm_hw_params_set_rate_min (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space with a minimum rate. | |
| int | snd_pcm_hw_params_set_rate_max (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space with a maximum rate. | |
| int | snd_pcm_hw_params_set_rate_minmax (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir) |
| Restrict a configuration space to have rates in a given range. | |
| int | snd_pcm_hw_params_set_rate_near (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space to have rate nearest to a target. | |
| int | snd_pcm_hw_params_set_rate_first (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space to contain only its minimum rate. | |
| int | snd_pcm_hw_params_set_rate_last (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space to contain only its maximum rate. | |
| int | snd_pcm_hw_params_set_rate_resample (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) |
| Restrict a configuration space to contain only real hardware rates. | |
| int | snd_pcm_hw_params_get_rate_resample (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Extract resample state from a configuration space. | |
| int | snd_pcm_hw_params_set_export_buffer (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) |
| Restrict a configuration space to allow the buffer accessible from outside. | |
| int | snd_pcm_hw_params_get_export_buffer (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) |
| Extract buffer accessibility from a configuration space. | |
| int | snd_pcm_hw_params_get_period_time (const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Extract period time from a configuration space. | |
| int | snd_pcm_hw_params_get_period_time_min (const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Extract minimum period time from a configuration space. | |
| int | snd_pcm_hw_params_get_period_time_max (const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Extract maximum period time from a configuration space. | |
| int | snd_pcm_hw_params_test_period_time (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) |
| Verify if a period time is available inside a configuration space for a PCM. | |
| int | snd_pcm_hw_params_set_period_time (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) |
| Restrict a configuration space to contain only one period time. | |
| int | snd_pcm_hw_params_set_period_time_min (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space with a minimum period time. | |
| int | snd_pcm_hw_params_set_period_time_max (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space with a maximum period time. | |
| int | snd_pcm_hw_params_set_period_time_minmax (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir) |
| Restrict a configuration space to have period times in a given range. | |
| int | snd_pcm_hw_params_set_period_time_near (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space to have period time nearest to a target. | |
| int | snd_pcm_hw_params_set_period_time_first (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space to contain only its minimum period time. | |
| int | snd_pcm_hw_params_set_period_time_last (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) |
| Restrict a configuration space to contain only its maximum period time. | |
| int | snd_pcm_hw_params_get_period_size (const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *frames, int *dir) |
| Extract period size from a configuration space. | |
| int | snd_pcm_hw_params_get_period_size_min (const snd_pcm_hw_params_t *params, snd_pcm_uframes |