#include <alsa/asoundlib.h>
Go to the source code of this file.
|
typedef const char *(* | pfn_snd_asoundlib_version )(void) |
|
typedef snd_pcm_sframes_t(* | pfn_snd_pcm_avail_update )(snd_pcm_t *pcm) |
|
typedef int(* | pfn_snd_pcm_close )(snd_pcm_t *pcm) |
|
typedef const char *(* | pfn_snd_strerror )(int errnum) |
|
typedef int(* | pfn_snd_pcm_hw_params )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
|
typedef int(* | pfn_snd_pcm_hw_params_any )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
|
typedef int(* | pfn_snd_pcm_hw_params_get_buffer_size )(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) |
|
typedef int(* | pfn_snd_pcm_hw_params_set_access )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access) |
|
typedef int(* | pfn_snd_pcm_hw_params_set_buffer_size_min )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) |
|
typedef int(* | pfn_snd_pcm_hw_params_set_channels )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) |
|
typedef int(* | pfn_snd_pcm_hw_params_set_format )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t format) |
|
typedef int(* | pfn_snd_pcm_hw_params_set_rate )(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) |
|
typedef size_t(* | pfn_snd_pcm_hw_params_sizeof )(void) |
|
typedef int(* | pfn_snd_pcm_open )(snd_pcm_t **pcmp, const char *name, snd_pcm_stream_t stream, int mode) |
|
typedef int(* | pfn_snd_pcm_prepare )(snd_pcm_t *pcm) |
|
typedef snd_pcm_state_t(* | pfn_snd_pcm_state )(snd_pcm_t *pcm) |
|
typedef snd_pcm_sframes_t(* | pfn_snd_pcm_writei )(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) |
|
#define ALSA_DLSYM |
( |
|
SYM | ) |
id_##SYM = ( pfn_##SYM )dlvsym( m_handle, #SYM, "ALSA_0.9" ); if ( !id_##SYM ) { common->Printf( "dlsym "#SYM" failed: %s\n", dlerror() ); Release(); return false; } |
#define ALSA_PCM_NEW_HW_PARAMS_API |
#define ALSA_PCM_NEW_SW_PARAMS_API |
#define id_snd_pcm_hw_params_alloca |
( |
|
ptr | ) |
do { assert(ptr); *ptr = (snd_pcm_hw_params_t *) alloca(id_snd_pcm_hw_params_sizeof()); memset(*ptr, 0, id_snd_pcm_hw_params_sizeof()); } while (0) |
typedef const char*( * pfn_snd_asoundlib_version)(void) |
typedef snd_pcm_sframes_t( * pfn_snd_pcm_avail_update)(snd_pcm_t *pcm) |
typedef int( * pfn_snd_pcm_close)(snd_pcm_t *pcm) |
typedef int( * pfn_snd_pcm_hw_params)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
typedef int( * pfn_snd_pcm_hw_params_any)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) |
typedef int( * pfn_snd_pcm_hw_params_get_buffer_size)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) |
typedef int( * pfn_snd_pcm_hw_params_set_access)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access) |
typedef int( * pfn_snd_pcm_hw_params_set_buffer_size_min)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) |
typedef int( * pfn_snd_pcm_hw_params_set_channels)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) |
typedef int( * pfn_snd_pcm_hw_params_set_format)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t format) |
typedef int( * pfn_snd_pcm_hw_params_set_rate)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) |
typedef size_t( * pfn_snd_pcm_hw_params_sizeof)(void) |
typedef int( * pfn_snd_pcm_open)(snd_pcm_t **pcmp, const char *name, snd_pcm_stream_t stream, int mode) |
typedef int( * pfn_snd_pcm_prepare)(snd_pcm_t *pcm) |
typedef snd_pcm_state_t( * pfn_snd_pcm_state)(snd_pcm_t *pcm) |
typedef snd_pcm_sframes_t( * pfn_snd_pcm_writei)(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) |
typedef const char*( * pfn_snd_strerror)(int errnum) |