NUGU SDK Linux
1.7.6
|
pcm driver operations More...
#include <nugu_pcm.h>
Public Attributes | |
int(* | create )(NuguPcmDriver *driver, NuguPcm *pcm, NuguAudioProperty property) |
Called when pcm is created. More... | |
void(* | destroy )(NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is destroyed. More... | |
int(* | get_position )(NuguPcmDriver *driver, NuguPcm *pcm) |
Called when a playback position is requested. More... | |
int(* | pause )(NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is paused. More... | |
int(* | push_data )(NuguPcmDriver *driver, NuguPcm *pcm, const char *data, size_t size, int is_last) |
Called when a pcm data is pushed to pcm object. More... | |
int(* | resume )(NuguPcmDriver *driver, NuguPcm *pcm) |
called when pcm is resumed More... | |
int(* | set_volume )(NuguPcmDriver *driver, NuguPcm *pcm, int volume) |
called when pcm is needed to set volume More... | |
int(* | start )(NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is started. More... | |
int(* | stop )(NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is stopped. More... | |
pcm driver operations
int(* nugu_pcm_driver_ops::create) (NuguPcmDriver *driver, NuguPcm *pcm, NuguAudioProperty property) |
Called when pcm is created.
void(* nugu_pcm_driver_ops::destroy) (NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is destroyed.
int(* nugu_pcm_driver_ops::start) (NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is started.
int(* nugu_pcm_driver_ops::push_data) (NuguPcmDriver *driver, NuguPcm *pcm, const char *data, size_t size, int is_last) |
Called when a pcm data is pushed to pcm object.
int(* nugu_pcm_driver_ops::stop) (NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is stopped.
int(* nugu_pcm_driver_ops::pause) (NuguPcmDriver *driver, NuguPcm *pcm) |
Called when pcm is paused.
int(* nugu_pcm_driver_ops::resume) (NuguPcmDriver *driver, NuguPcm *pcm) |
called when pcm is resumed
int(* nugu_pcm_driver_ops::set_volume) (NuguPcmDriver *driver, NuguPcm *pcm, int volume) |
called when pcm is needed to set volume
int(* nugu_pcm_driver_ops::get_position) (NuguPcmDriver *driver, NuguPcm *pcm) |
Called when a playback position is requested.