usb_mic_status_t

Syntax

#include <cafe/usb_mic.h>

typedef struct {
    unsigned long int   flags;
    unsigned long int   available;
    unsigned long int   read_idx;
} usb_mic_status_t;

#define MIC_STATUS_FLAG_PCM16   (1 << 0)    /* if set, samples are of type s16 */

typedef short int usb_mic_pcm_sample_t;

Elements

flags OR'ed field of the flags defined.
available The number of samples of type usb_mic_pcm_sample_t available in the ring buffer.
read_idx The read index into the ring buffer. It is considered to be an array of type usb_mic_pcm_sample_t for the purpose of indexing.

Description

This data structure defines available data and their location with respect to the ringbuffer that was put in place as part of USBMICOpen.

See Also

USBMICOpen

Revision History

2013/05/08 Automated cleanup pass.
2012/08/03 Cleanup Pass
2012/01/06 Initial version.


CONFIDENTIAL