|
KallistiOS
2.0.0
|
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? | |
| size_t | buf_len |
| How long is the samples buffer? | |
| off_t | buf_pos |
| What is the last place written to in the buffer? | |
| uint8 * | samples_buf |
| Buffer for storing samples in (automatically allocated). | |
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.
| int sip_state::amp_gain |
The gain value for the microphone amp.
| size_t sip_state::buf_len |
How long is the samples buffer?
| off_t sip_state::buf_pos |
What is the last place written to in the buffer?
| 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.
| uint8* sip_state::samples_buf |
Buffer for storing samples in (automatically allocated).
1.8.1.1