audiodsp
[Interface specifications]
Detailed Description
Audible tone emission / detection.
The audiodsp interface is used to control sound hardware, if equipped.
| #define | PLAYER_AUDIODSP_MAX_FREQS 8 |
| Maximum number of frequencies to report. | |
| #define | PLAYER_AUDIODSP_MAX_BITSTRING_LEN 64 |
| Maximum length of a BPSK bitstring to emit. | |
| #define | PLAYER_AUDIODSP_SET_CONFIG 1 |
| Request/reply subtype: set configuration. | |
| #define | PLAYER_AUDIODSP_GET_CONFIG 2 |
| Request/reply subtype: get configuration. | |
| #define | PLAYER_AUDIODSP_PLAY_TONE 1 |
| Command subtype: play tone. | |
| #define | PLAYER_AUDIODSP_PLAY_CHIRP 2 |
| Command subtype: play chirp. | |
| #define | PLAYER_AUDIODSP_REPLAY 3 |
| Command subtype: replay (last tone, last chirp ?). | |
| #define | PLAYER_AUDIODSP_DATA_TONES 1 |
| Data subtype: detected tones. | |
| typedef struct player_audiodsp_data | player_audiodsp_data_t |
| Maximum number of frequencies to report. | |
| typedef struct player_audiodsp_cmd | player_audiodsp_cmd_t |
| Maximum number of frequencies to report. | |
|
typedef struct player_audiodsp_config | player_audiodsp_config_t |
| Maximum number of frequencies to report. |
