Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

fixedtones.cc File Reference

#include <string.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/soundcard.h>
#include <rfftw.h>
#include <math.h>
#include <sys/time.h>
#include <pthread.h>
#include <driver.h>
#include <drivertable.h>
#include "error.h"

Defines

#define AUDIO_SLEEP_TIME_USEC   100000
#define N   784
#define nHighestPeaks   5
#define heardHistoryN   5
#define LENGTH   1 /* how many tenth of seconds of samplig max */
#define RATE   16000 /* the sampling rate */
#define CHANNELS   2 /* 1 = mono 2 = stereo */
#define SIZE   16 /* bits, 8 or 16 */
#define MIN_FREQUENCY   800
#define nIterations   10000

Functions

DriverFixedTones_Init (ConfigFile *cf, int section)
void FixedTones_Register (DriverTable *table)

Variables

const int UNKNOWN = 0
const int LISTENING = 1
const int PLAYING = 2


Define Documentation

#define AUDIO_SLEEP_TIME_USEC   100000
 

#define N   784
 

#define nHighestPeaks   5
 

#define heardHistoryN   5
 

#define LENGTH   1 /* how many tenth of seconds of samplig max */
 

#define RATE   16000 /* the sampling rate */
 

#define CHANNELS   2 /* 1 = mono 2 = stereo */
 

#define SIZE   16 /* bits, 8 or 16 */
 

#define MIN_FREQUENCY   800
 

#define nIterations   10000
 


Function Documentation

Driver* FixedTones_Init ConfigFile cf,
int  section
 

void FixedTones_Register DriverTable table  ) 
 


Variable Documentation

const int UNKNOWN = 0
 

const int LISTENING = 1
 

const int PLAYING = 2
 


Generated on Tue May 3 14:15:39 2005 for Player by doxygen 1.3.6