igor::iSound Class Reference

#include <iSound.h>

Inherits igor::iResource.

Public Member Functions

 ~iSound ()=default
 
int16 getNumberOfChannels () const
 
int32 getSampleRate () const
 
int32 getByteRate () const
 
int16 getBitsPerSample () const
 
- Public Member Functions inherited from igor::iResource
virtual ~iResource ()=default
 
bool isValid () const
 
bool isProcessed () const
 
bool isQuiet () const
 
const iaStringgetSource () const
 
const iaString getInfo () const
 
const iResourceIDgetID () const
 
const iaStringgetAlias () const
 
iResourceCacheMode getCacheMode () const
 
const iParametersgetParameters () const
 
const iaStringgetType () const
 

Friends

class iSoundFactory
 
class iAudio
 

Additional Inherited Members

- Static Public Member Functions inherited from igor::iResource
static bool extractID (const iParameters &parameters, iResourceID &id, bool quiet=false)
 
- Protected Member Functions inherited from igor::iResource
 iResource (const iParameters &parameters)
 

Detailed Description

represents a sound resource

available parameters:

has no other parameters

Constructor & Destructor Documentation

◆ ~iSound()

igor::iSound::~iSound ( )
default

does nothing

Member Function Documentation

◆ getBitsPerSample()

int16 igor::iSound::getBitsPerSample ( ) const
Returns
bits per sample

◆ getByteRate()

int32 igor::iSound::getByteRate ( ) const
Returns
byte rate

◆ getNumberOfChannels()

int16 igor::iSound::getNumberOfChannels ( ) const
Returns
number of channels

◆ getSampleRate()

int32 igor::iSound::getSampleRate ( ) const
Returns
sample rate

Friends And Related Function Documentation

◆ iAudio

friend class iAudio
friend

◆ iSoundFactory

friend class iSoundFactory
friend

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