player_audio_data Struct Reference

#include <player.h>

List of all members.


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:

Last updated 12 September 2005 21:38:45