Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

audiodsp
[Interfaces]


Detailed Description

The audiodsp interface is used to control sound hardware, if equipped.


Classes

struct  player_audiodsp_data
 Data. More...

struct  player_audiodsp_cmd
 Command. More...

struct  player_audiodsp_config
 Configuration request : Get/set audio properties. Configuration request: Get/set audio configuration. More...


Defines

#define PLAYER_AUDIODSP_SET_CONFIG   0x01
#define PLAYER_AUDIODSP_GET_CONFIG   0x02
#define PLAYER_AUDIODSP_PLAY_TONE   0x03
#define PLAYER_AUDIODSP_PLAY_CHIRP   0x04
#define PLAYER_AUDIODSP_REPLAY   0x05

Typedefs

typedef player_audiodsp_data player_audiodsp_data_t
 Data.

typedef player_audiodsp_cmd player_audiodsp_cmd_t
 Command.

typedef player_audiodsp_config player_audiodsp_config_t
 Configuration request : Get/set audio properties. Configuration request: Get/set audio configuration.


Define Documentation

#define PLAYER_AUDIODSP_SET_CONFIG   0x01
 

#define PLAYER_AUDIODSP_GET_CONFIG   0x02
 

#define PLAYER_AUDIODSP_PLAY_TONE   0x03
 

#define PLAYER_AUDIODSP_PLAY_CHIRP   0x04
 

#define PLAYER_AUDIODSP_REPLAY   0x05
 


Typedef Documentation

typedef struct player_audiodsp_data player_audiodsp_data_t
 

Data.

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. Five frequency/amplitude pairs are then returned as data.

typedef struct player_audiodsp_cmd player_audiodsp_cmd_t
 

Command.

The audiodsp interface accepts commands to produce fixed-frequency tones or binary phase shift keyed(BPSK) chirps through /dev/dsp (which is assumed to be associated with a sound card to which a speaker is attached).

typedef struct player_audiodsp_config player_audiodsp_config_t
 

Configuration request : Get/set audio properties. Configuration request: Get/set audio configuration.

Request/reply packet for getting and setting the audio configuration.


Generated on Tue May 3 14:16:09 2005 for Player by doxygen 1.3.6