CUGL 2.3
Cornell University Game Library
Loading...
Searching...
No Matches
Classes | Functions
cugl::audio Namespace Reference

Classes

class  AudioFader
 
class  AudioInput
 
class  AudioMixer
 
class  AudioNode
 
class  AudioNodeQueue
 
class  AudioOutput
 
class  AudioPanner
 
class  AudioPlayer
 
class  AudioRedistributor
 
class  AudioResampler
 
class  AudioScheduler
 
class  AudioSpinner
 
class  AudioSynchronizer
 

Functions

AudioType guessType (const std::string file)
 
std::string typeName (AudioType type)
 

Detailed Description

The audio graph classes.

This internal namespace is for the audio graph clases. It was chosen to distinguish this graph from other graph class collections, such as the scene graph collections in scene2.

Function Documentation

◆ guessType()

AudioType cugl::audio::guessType ( const std::string  file)

Returns the type suggested by the given file name

The type will be determined from the file extension (e.g. .wav, .mp3, .ogg, etc).

Parameters
fileThe file name
Returns
the type suggested by the given file name

◆ typeName()

std::string cugl::audio::typeName ( AudioType  type)

Returns a string description of the given type

Parameters
typeThe audio source type
Returns
a string description of the given type