Struct raylib::core::audio::RaylibAudio[][src]

pub struct RaylibAudio(_);
Expand description

This token is used to indicate VR is initialized

Implementations

Initializes audio device and context.

Checks if audio device is ready.

Sets master volume (listener).

Get number of sounds playing in the multichannel

Plays a sound.

Play a sound (using multichannel buffer pool)

Pauses a sound.

Resumes a paused sound.

Stops playing a sound.

Stops playing a sound.

Checks if a sound is currently playing.

Sets volume for a sound (1.0 is max level).

Sets pitch for a sound (1.0 is base level).

Starts music playing.

Updates buffers for music streaming.

Stops music playing.

Pauses music playing.

Resumes playing paused music.

Checks if music is playing.

Sets volume for music (1.0 is max level).

Sets pitch for music (1.0 is base level).

Gets music time length in seconds.

Gets current music time played in seconds.

Plays audio stream.

Pauses audio stream.

Resumes audio stream.

Checks if audio stream is currently playing.

Stops audio stream.

Sets volume for audio stream (1.0 is max level).

Sets pitch for audio stream (1.0 is base level).

Sets pitch for audio stream (1.0 is base level).

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.