struct snd_pcm_scope_ops_t

Overview

SND_PCM_TYPE_METER scope functions Moreā€¦

#include <pcm.h>

struct snd_pcm_scope_ops_t {
    // fields

    int(* enable)(snd_pcm_scope_t *scope);
    void(* disable)(snd_pcm_scope_t *scope);
    void(* start)(snd_pcm_scope_t *scope);
    void(* stop)(snd_pcm_scope_t *scope);
    void(* update)(snd_pcm_scope_t *scope);
    void(* reset)(snd_pcm_scope_t *scope);
    void(* close)(snd_pcm_scope_t *scope);
};

Detailed Documentation

SND_PCM_TYPE_METER scope functions

Fields

int(* enable)(snd_pcm_scope_t *scope)

Enable and prepare it using current params.

Parameters:

scope

scope handle

void(* disable)(snd_pcm_scope_t *scope)

Disable.

Parameters:

scope

scope handle

void(* start)(snd_pcm_scope_t *scope)

PCM has been started.

Parameters:

scope

scope handle

void(* stop)(snd_pcm_scope_t *scope)

PCM has been stopped.

Parameters:

scope

scope handle

void(* update)(snd_pcm_scope_t *scope)

New frames are present.

Parameters:

scope

scope handle

void(* reset)(snd_pcm_scope_t *scope)

Reset status.

Parameters:

scope

scope handle

void(* close)(snd_pcm_scope_t *scope)

PCM is closing.

Parameters:

scope

scope handle