AudioClip

Inherited: Object

Description

The AudioClip class provides methods to access and manipulate audio data, supporting loading and streaming from disk.

Public Methods

int

channels () const

int

duration () const

int

frequency () const

bool

isStream () const

Static Methods

None

Methods Description

int AudioClip::channels () const

Returns the number of audio channels.


int AudioClip::duration () const

Returns the duration of audio clip.


int AudioClip::frequency () const

Returns frequency of audio clip in Hz.


bool AudioClip::isStream () const

Returns true in case of the audio clip is streamed from disk; otherwise returns false.