Data Structures | |
struct | _snd_pcm_scope_ops |
Typedefs | |
typedef struct _snd_pcm_scope_ops | snd_pcm_scope_ops_t |
Functions | |
snd_pcm_uframes_t | snd_pcm_meter_get_bufsize (snd_pcm_t *pcm) |
Get meter buffer size from a SND_PCM_TYPE_METER PCM. | |
unsigned int | snd_pcm_meter_get_channels (snd_pcm_t *pcm) |
Get meter channels from a SND_PCM_TYPE_METER PCM. | |
unsigned int | snd_pcm_meter_get_rate (snd_pcm_t *pcm) |
Get meter rate from a SND_PCM_TYPE_METER PCM. | |
snd_pcm_uframes_t | snd_pcm_meter_get_now (snd_pcm_t *pcm) |
Get meter "now" frame pointer from a SND_PCM_TYPE_METER PCM. | |
snd_pcm_uframes_t | snd_pcm_meter_get_boundary (snd_pcm_t *pcm) |
Get boundary for frame pointers from a SND_PCM_TYPE_METER PCM. | |
int | snd_pcm_meter_add_scope (snd_pcm_t *pcm, snd_pcm_scope_t *scope) |
Add a scope to a SND_PCM_TYPE_METER PCM. | |
snd_pcm_scope_t * | snd_pcm_meter_search_scope (snd_pcm_t *pcm, const char *name) |
Search an installed scope inside a SND_PCM_TYPE_METER PCM. | |
int | snd_pcm_scope_malloc (snd_pcm_scope_t **ptr) |
allocate an invalid snd_pcm_scope_t using standard malloc | |
void | snd_pcm_scope_set_ops (snd_pcm_scope_t *scope, snd_pcm_scope_ops_t *val) |
Set callbacks for a SND_PCM_TYPE_METER PCM scope. | |
void | snd_pcm_scope_set_name (snd_pcm_scope_t *scope, const char *val) |
Set name of a SND_PCM_TYPE_METER PCM scope. | |
const char * | snd_pcm_scope_get_name (snd_pcm_scope_t *scope) |
Get name of a SND_PCM_TYPE_METER PCM scope. | |
void * | snd_pcm_scope_get_callback_private (snd_pcm_scope_t *scope) |
Get callbacks private value for a SND_PCM_TYPE_METER PCM scope. | |
void | snd_pcm_scope_set_callback_private (snd_pcm_scope_t *scope, void *val) |
Get callbacks private value for a SND_PCM_TYPE_METER PCM scope. | |
int | snd_pcm_scope_s16_open (snd_pcm_t *pcm, const char *name, snd_pcm_scope_t **scopep) |
Add a s16 pseudo scope to a SND_PCM_TYPE_METER PCM. | |
int16_t * | snd_pcm_scope_s16_get_channel_buffer (snd_pcm_scope_t *scope, unsigned int channel) |
Get s16 pseudo scope frames buffer for a channel. |
int snd_pcm_meter_add_scope | ( | snd_pcm_t * | pcm, | |
snd_pcm_scope_t * | scope | |||
) |
Add a scope to a SND_PCM_TYPE_METER PCM.
pcm | PCM handle | |
scope | Scope handle |
snd_pcm_uframes_t snd_pcm_meter_get_boundary | ( | snd_pcm_t * | pcm | ) |
Get boundary for frame pointers from a SND_PCM_TYPE_METER PCM.
pcm | PCM handle |
snd_pcm_uframes_t snd_pcm_meter_get_bufsize | ( | snd_pcm_t * | pcm | ) |
Get meter buffer size from a SND_PCM_TYPE_METER PCM.
pcm | PCM handle |
unsigned int snd_pcm_meter_get_channels | ( | snd_pcm_t * | pcm | ) |
Get meter channels from a SND_PCM_TYPE_METER PCM.
pcm | PCM handle |
snd_pcm_uframes_t snd_pcm_meter_get_now | ( | snd_pcm_t * | pcm | ) |
Get meter "now" frame pointer from a SND_PCM_TYPE_METER PCM.
pcm | PCM handle |
unsigned int snd_pcm_meter_get_rate | ( | snd_pcm_t * | pcm | ) |
snd_pcm_scope_t* snd_pcm_meter_search_scope | ( | snd_pcm_t * | pcm, | |
const char * | name | |||
) |
Search an installed scope inside a SND_PCM_TYPE_METER PCM.
pcm | PCM handle | |
name | scope name |
void* snd_pcm_scope_get_callback_private | ( | snd_pcm_scope_t * | scope | ) |
Get callbacks private value for a SND_PCM_TYPE_METER PCM scope.
scope | PCM meter scope |
const char* snd_pcm_scope_get_name | ( | snd_pcm_scope_t * | scope | ) |
int snd_pcm_scope_malloc | ( | snd_pcm_scope_t ** | ptr | ) |
allocate an invalid snd_pcm_scope_t using standard malloc
ptr | returned pointer |
int16_t* snd_pcm_scope_s16_get_channel_buffer | ( | snd_pcm_scope_t * | scope, | |
unsigned int | channel | |||
) |
Get s16 pseudo scope frames buffer for a channel.
scope | s16 pseudo scope handle | |
channel | Channel |
int snd_pcm_scope_s16_open | ( | snd_pcm_t * | pcm, | |
const char * | name, | |||
snd_pcm_scope_t ** | scopep | |||
) |
Add a s16 pseudo scope to a SND_PCM_TYPE_METER PCM.
pcm | The pcm handle | |
name | Scope name | |
scopep | Pointer to newly created and added scope |
void snd_pcm_scope_set_callback_private | ( | snd_pcm_scope_t * | scope, | |
void * | val | |||
) |
Get callbacks private value for a SND_PCM_TYPE_METER PCM scope.
scope | PCM meter scope | |
val | Private data value |
void snd_pcm_scope_set_name | ( | snd_pcm_scope_t * | scope, | |
const char * | val | |||
) |
void snd_pcm_scope_set_ops | ( | snd_pcm_scope_t * | scope, | |
snd_pcm_scope_ops_t * | val | |||
) |