Enumerations | Functions | Variables
porcupine/demo/c/dr_libs/tests/external/miniaudio/tests/test_deviceio/ma_test_deviceio.c File Reference
#include "../test_common/ma_test_common.c"
Include dependency graph for porcupine/demo/c/dr_libs/tests/external/miniaudio/tests/test_deviceio/ma_test_deviceio.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  source_type {
  source_type_waveform, source_type_noise, source_type_decoder, source_type_waveform,
  source_type_noise, source_type_decoder, source_type_waveform, source_type_noise,
  source_type_decoder, source_type_waveform, source_type_noise, source_type_decoder,
  source_type_waveform, source_type_noise, source_type_decoder
}
 

Functions

const char * get_mode_description (ma_device_type deviceType)
 
int main (int argc, char **argv)
 
void on_data (ma_device *pDevice, void *pFramesOut, const void *pFramesIn, ma_uint32 frameCount)
 
void on_log (ma_context *pContext, ma_device *pDevice, ma_uint32 logLevel, const char *message)
 
void on_stop (ma_device *pDevice)
 
ma_bool32 try_parse_backend (const char *arg, ma_backend *pBackends, ma_uint32 backendCap, ma_uint32 *pBackendCount)
 
ma_bool32 try_parse_mode (const char *arg, ma_device_type *pDeviceType)
 
ma_bool32 try_parse_noise (const char *arg, ma_noise_type *pNoiseType)
 
ma_bool32 try_parse_waveform (const char *arg, ma_waveform_type *pWaveformType)
 

Variables

struct {
   ma_context   context
 
   ma_decoder   decoder
 
   ma_device   device
 
   ma_encoder   encoder
 
   ma_bool32   hasEncoder
 
   ma_noise   noise
 
   source_type   sourceType
 
   ma_waveform   waveform
 
g_State
 

Enumeration Type Documentation

◆ source_type

Enumerator
source_type_waveform 
source_type_noise 
source_type_decoder 
source_type_waveform 
source_type_noise 
source_type_decoder 
source_type_waveform 
source_type_noise 
source_type_decoder 
source_type_waveform 
source_type_noise 
source_type_decoder 
source_type_waveform 
source_type_noise 
source_type_decoder 

Definition at line 47 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/tests/test_deviceio/ma_test_deviceio.c.

Function Documentation

◆ get_mode_description()

const char* get_mode_description ( ma_device_type  deviceType)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ on_data()

void on_data ( ma_device pDevice,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint32  frameCount 
)

◆ on_log()

void on_log ( ma_context pContext,
ma_device pDevice,
ma_uint32  logLevel,
const char *  message 
)

◆ on_stop()

void on_stop ( ma_device pDevice)

◆ try_parse_backend()

ma_bool32 try_parse_backend ( const char *  arg,
ma_backend pBackends,
ma_uint32  backendCap,
ma_uint32 pBackendCount 
)

◆ try_parse_mode()

ma_bool32 try_parse_mode ( const char *  arg,
ma_device_type pDeviceType 
)

◆ try_parse_noise()

ma_bool32 try_parse_noise ( const char *  arg,
ma_noise_type pNoiseType 
)

◆ try_parse_waveform()

ma_bool32 try_parse_waveform ( const char *  arg,
ma_waveform_type pWaveformType 
)

Variable Documentation

◆ context

ma_context context

◆ decoder

ma_decoder decoder

◆ device

ma_device device

◆ encoder

ma_encoder encoder

◆ g_State

struct { ... } g_State

◆ hasEncoder

ma_bool32 hasEncoder

◆ noise

ma_noise noise

◆ sourceType

source_type sourceType

◆ waveform

ma_waveform waveform


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57