Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# MicrophoneAudio Class Reference

Class MicrophoneAudio provides the means to read raw audio samples from a microphone. More...

Inheritance diagram for MicrophoneAudio:

List of all members.

## Public Member Functions
int | getChannels ()
| Returns the number of channels.
list | getOptions ()
int | getRate ()
| Returns the sample rate.
MovieAudioCursor | open ()
| Open this audio, returning a MovieAudioCursor.
## Static Public Member Functions
static TypeHandle | getClassType ()
static int | getNumOptions ()
| Returns the number of microphone options.
static MicrophoneAudio | getOption (int n)
| Returns the nth microphone option.

## Detailed Description

Class MicrophoneAudio provides the means to read raw audio samples from a microphone.

## Member Function Documentation

int getChannels | ( |  | ) |

Returns the number of channels.

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from MovieAudio.

static int getNumOptions | ( |  | ) | `[static]`

Returns the number of microphone options.

An "option" consists of a device plus a set of configuration parameters. For example, "Soundblaster Audigy Line in at 44,100 samples/sec" would be an option.

static MicrophoneAudio getOption | ( | int | n | ) | `[static]`

Returns the nth microphone option.

list getOptions | ( |  | ) |

int getRate | ( |  | ) |

Returns the sample rate.

MovieAudioCursor open | ( |  | ) |

Open this audio, returning a MovieAudioCursor.

Reimplemented from MovieAudio.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties