KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
sip_state_t Struct Reference

SIP status structure. More...

#include <dc/maple/sip.h>

Data Fields

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

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

◆ amp_gain

int sip_state_t::amp_gain

The gain value for the microphone amp.

◆ callback

sip_sample_cb sip_state_t::callback

Sampling callback.

◆ frequency

int sip_state_t::frequency

What frequency are we sampling at?

◆ is_sampling

int sip_state_t::is_sampling

Is the mic currently sampling?

◆ sample_type

int sip_state_t::sample_type

The type of samples that are being recorded.


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