player_audio_data Struct Reference
#include <player.h>
Detailed Description
Data: tones detected.
The audio interface reads the audio stream from /dev/audio (which is assumed to be associated with a sound card connected to a microphone) and performs some analysis on it. PLAYER_AUDIO_PAIRS number of frequency/amplitude pairs are then returned as data.
Public Attributes | |
| uint32_t | frequency_count |
| Number of frequencies. | |
| float | frequency [PLAYER_AUDIO_PAIRS] |
| [Hz] | |
| uint32_t | amplitude_count |
| Number of amplitudes. | |
| float | amplitude [PLAYER_AUDIO_PAIRS] |
| [dB] | |
The documentation for this struct was generated from the following file:
