# Cinder

# cinder::audio::OutputImpl Class Reference

`#include <Output.h>`

Inherited by cinder::audio::OutputAudioUnit, and cinder::audio::OutputXAudio.

List of all members.

## Public Member Functions
virtual | ~OutputImpl ()
virtual void | play (SourceRef aSource)
virtual TrackRef | addTrack (SourceRef aSource, bool autoplay)=0
virtual void | removeTrack (TrackId trackId)=0
virtual float | getVolume () const =0
virtual void | setVolume (float aVolume)=0
## Protected Member Functions
| OutputImpl ()
virtual TrackId | availableTrackId ()
## Protected Attributes
TrackId | mNextTrackId
## Friends
class | Track

## Constructor & Destructor Documentation

virtual cinder::audio::OutputImpl::~OutputImpl | ( |  | ) | `[virtual]`

cinder::audio::OutputImpl::OutputImpl | ( |  | ) | `[protected]`

## Member Function Documentation

virtual void cinder::audio::OutputImpl::play | ( | SourceRef | aSource | ) | `[virtual]`

virtual TrackRef cinder::audio::OutputImpl::addTrack | ( | SourceRef | aSource,
|  | bool | autoplay |
| ) |  |  | `[pure virtual]`

virtual void cinder::audio::OutputImpl::removeTrack | ( | TrackId | trackId | ) | `[pure virtual]`

virtual float cinder::audio::OutputImpl::getVolume | ( |  | ) | const`[pure virtual]`

virtual void cinder::audio::OutputImpl::setVolume | ( | float | aVolume | ) | `[pure virtual]`

virtual TrackId cinder::audio::OutputImpl::availableTrackId | ( |  | ) | `[protected, virtual]`

## Friends And Related Function Documentation

friend class Track`[friend]`

## Member Data Documentation

TrackId cinder::audio::OutputImpl::mNextTrackId`[protected]`

The documentation for this class was generated from the following files:

- include/cinder/audio/Output.h
- src/cinder/audio/Output.cpp