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