KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
sip_state Struct Reference

SIP status structure. More...

#include <dc/maple/sip.h>

Data Fields

int amp_gain
 The gain value for the microphone amp. More...
 
int sample_type
 The type of samples that are being recorded. More...
 
int frequency
 What frequency are we sampling at? More...
 
int is_sampling
 Is the mic currently sampling? More...
 
sip_sample_cb callback
 Sampling callback. More...
 

Detailed Description

SIP status structure.

This structure contains information about the status of the microphone device and can be fetched with maple_dev_status(). You should not modify any of the values in here, it is all "read-only" to your programs. Modifying any of this, especially while the microphone is sampling could really screw things up.

Field Documentation

int sip_state::amp_gain

The gain value for the microphone amp.

sip_sample_cb sip_state::callback

Sampling callback.

int sip_state::frequency

What frequency are we sampling at?

int sip_state::is_sampling

Is the mic currently sampling?

int sip_state::sample_type

The type of samples that are being recorded.


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