Public Attributes | List of all members
ma_data_source_vtable Struct Reference

#include <miniaudio.h>

Public Attributes

ma_result(* onGetCursor )(ma_data_source *pDataSource, ma_uint64 *pCursor)
 
ma_result(* onGetDataFormat )(ma_data_source *pDataSource, ma_format *pFormat, ma_uint32 *pChannels, ma_uint32 *pSampleRate)
 
ma_result(* onGetLength )(ma_data_source *pDataSource, ma_uint64 *pLength)
 
ma_result(* onMap )(ma_data_source *pDataSource, void **ppFramesOut, ma_uint64 *pFrameCount)
 
ma_result(* onRead )(ma_data_source *pDataSource, void *pFramesOut, ma_uint64 frameCount, ma_uint64 *pFramesRead)
 
ma_result(* onSeek )(ma_data_source *pDataSource, ma_uint64 frameIndex)
 
ma_result(* onUnmap )(ma_data_source *pDataSource, ma_uint64 frameCount)
 

Detailed Description

Definition at line 4502 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.h.

Member Data Documentation

◆ onGetCursor

ma_result(* ma_data_source_vtable::onGetCursor)(ma_data_source *pDataSource, ma_uint64 *pCursor)

◆ onGetDataFormat

ma_result(* ma_data_source_vtable::onGetDataFormat)(ma_data_source *pDataSource, ma_format *pFormat, ma_uint32 *pChannels, ma_uint32 *pSampleRate)

◆ onGetLength

ma_result(* ma_data_source_vtable::onGetLength)(ma_data_source *pDataSource, ma_uint64 *pLength)

◆ onMap

ma_result(* ma_data_source_vtable::onMap)(ma_data_source *pDataSource, void **ppFramesOut, ma_uint64 *pFrameCount)

◆ onRead

ma_result(* ma_data_source_vtable::onRead)(ma_data_source *pDataSource, void *pFramesOut, ma_uint64 frameCount, ma_uint64 *pFramesRead)

◆ onSeek

ma_result(* ma_data_source_vtable::onSeek)(ma_data_source *pDataSource, ma_uint64 frameIndex)

◆ onUnmap

ma_result(* ma_data_source_vtable::onUnmap)(ma_data_source *pDataSource, ma_uint64 frameCount)

The documentation for this struct was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19