next up previous contents
Next: 6.4 audio Up: 6. Device Interfaces Previous: 6.2 null   Contents

Subsections


6.3 aio

Synopsis

The aio interface provides access to an analog I/O device.

Constants

#define PLAYER_AIO_MAX_SAMPLES 8
The maximum number of analog I/O samples

Data



struct player_aio_data : The aio interface returns data regarding the current state of the analog inputs; the format is:

uint8_t count;
number of valid samples

int32_t anin[PLAYER_AIO_MAX_SAMPLES];
the samples

Commands

This interface accepts no commands.



2004-06-02