bindbc.raylib.bind.audio

Undocumented in source.

Members

Aliases

pCloseAudioDevice
alias pCloseAudioDevice = void function()

Close the audio device and context (and music stream)

pCloseAudioStream
alias pCloseAudioStream = void function(AudioStream stream)

Close audio stream and free memory

pExportWave
alias pExportWave = void function(Wave wave, const(char)* fileName)

Export wave data to file

pExportWaveAsCode
alias pExportWaveAsCode = void function(Wave wave, const(char)* fileName)

Export wave sample data to code (.h)

pGetMusicTimeLength
alias pGetMusicTimeLength = float function(Music music)

Get music time length (in seconds)

pGetMusicTimePlayed
alias pGetMusicTimePlayed = float function(Music music)

Get current music time played (in seconds)

pGetSoundsPlaying
alias pGetSoundsPlaying = int function()

Get number of sounds playing in the multichannel

pGetWaveData
alias pGetWaveData = float* function(Wave wave)

Get samples data from wave as a floats array

pInitAudioDevice
alias pInitAudioDevice = void function()

nitialize audio device and context

pInitAudioStream
alias pInitAudioStream = AudioStream function(uint sampleRate, uint sampleSize, uint channels)

Init audio stream (to stream raw audio pcm data)

pIsAudioDeviceReady
alias pIsAudioDeviceReady = bool function()

Check if audio device is ready

pIsAudioStreamPlaying
alias pIsAudioStreamPlaying = bool function(AudioStream stream)

Check if audio stream is playing

pIsAudioStreamProcessed
alias pIsAudioStreamProcessed = bool function(AudioStream stream)

Check if any audio stream buffers requires refill

pIsMusicPlaying
alias pIsMusicPlaying = bool function(Music music)

Check if music is playing

pIsSoundPlaying
alias pIsSoundPlaying = bool function(Sound sound)

Check if a sound is currently playing

pLoadMusicStream
alias pLoadMusicStream = Music function(const(char)* fileName)

Load music stream from file

pLoadSound
alias pLoadSound = Sound function(const(char)* fileName)

Load sound from file

pLoadSoundFromWave
alias pLoadSoundFromWave = Sound function(Wave wave)

Load sound from wave data

pLoadWave
alias pLoadWave = Wave function(const(char)* fileName)

Load wave data from file

pPauseAudioStream
alias pPauseAudioStream = void function(AudioStream stream)

Pause audio stream

pPauseMusicStream
alias pPauseMusicStream = void function(Music music)

Pause music playing

pPauseSound
alias pPauseSound = void function(Sound sound)

Pause a sound

pPlayAudioStream
alias pPlayAudioStream = void function(AudioStream stream)

Play audio stream

pPlayMusicStream
alias pPlayMusicStream = void function(Music music)

Start music playing

pPlaySound
alias pPlaySound = void function(Sound sound)

Play a sound

pPlaySoundMulti
alias pPlaySoundMulti = void function(Sound sound)

Play a sound (using multichannel buffer pool)

pResumeAudioStream
alias pResumeAudioStream = void function(AudioStream stream)

Resume audio stream

pResumeMusicStream
alias pResumeMusicStream = void function(Music music)

Resume playing paused music

pResumeSound
alias pResumeSound = void function(Sound sound)

Resume a paused sound

pSetAudioStreamBufferSizeDefault
alias pSetAudioStreamBufferSizeDefault = void function(int size)

Default size for new audio streams

pSetAudioStreamPitch
alias pSetAudioStreamPitch = void function(AudioStream stream, float pitch)

Set pitch for audio stream (1.0 is base level)

pSetAudioStreamVolume
alias pSetAudioStreamVolume = void function(AudioStream stream, float volume)

Set volume for audio stream (1.0 is max level)

pSetMasterVolume
alias pSetMasterVolume = void function(float volume)

Set master volume (listener)

pSetMusicLoopCount
alias pSetMusicLoopCount = void function(Music music, int count)

Set music loop count (loop repeats)

pSetMusicPitch
alias pSetMusicPitch = void function(Music music, float pitch)

Set pitch for a music (1.0 is base level)

pSetMusicVolume
alias pSetMusicVolume = void function(Music music, float volume)

Set volume for music (1.0 is max level)

pSetSoundPitch
alias pSetSoundPitch = void function(Sound sound, float pitch)

Set pitch for a sound (1.0 is base level)

pSetSoundVolume
alias pSetSoundVolume = void function(Sound sound, float volume)

Set volume for a sound (1.0 is max level)

pStopAudioStream
alias pStopAudioStream = void function(AudioStream stream)

Stop audio stream

pStopMusicStream
alias pStopMusicStream = void function(Music music)

Stop music playing

pStopSound
alias pStopSound = void function(Sound sound)

Stop playing a sound

pStopSoundMulti
alias pStopSoundMulti = void function()

Stop any sound playing (using multichannel buffer pool)

pUnloadMusicStream
alias pUnloadMusicStream = void function(Music music)

Unload music stream

pUnloadSound
alias pUnloadSound = void function(Sound sound)

Unload sound

pUnloadWave
alias pUnloadWave = void function(Wave wave)

Unload wave data

pUpdateAudioStream
alias pUpdateAudioStream = void function(AudioStream stream, const(void)* data, int samplesCount)

Update audio stream buffers with data

pUpdateMusicStream
alias pUpdateMusicStream = void function(Music music)

Updates buffers for music streaming

pUpdateSound
alias pUpdateSound = void function(Sound sound, const(void)* data, int samplesCount)

Update sound buffer with new data

pWaveCopy
alias pWaveCopy = Wave function(Wave wave)

Copy a wave to a new wave

pWaveCrop
alias pWaveCrop = void function(Wave* wave, int initSample, int finalSample)

Crop a wave to defined samples range

pWaveFormat
alias pWaveFormat = void function(Wave* wave, int sampleRate, int sampleSize, int channels)

Convert wave data to desired format

Static variables

CloseAudioDevice
pCloseAudioDevice CloseAudioDevice;
Undocumented in source.
CloseAudioStream
pCloseAudioStream CloseAudioStream;
Undocumented in source.
ExportWave
pExportWave ExportWave;
Undocumented in source.
ExportWaveAsCode
pExportWaveAsCode ExportWaveAsCode;
Undocumented in source.
GetMusicTimeLength
pGetMusicTimeLength GetMusicTimeLength;
Undocumented in source.
GetMusicTimePlayed
pGetMusicTimePlayed GetMusicTimePlayed;
Undocumented in source.
GetSoundsPlaying
pGetSoundsPlaying GetSoundsPlaying;
Undocumented in source.
GetWaveData
pGetWaveData GetWaveData;
Undocumented in source.
InitAudioDevice
pInitAudioDevice InitAudioDevice;
Undocumented in source.
InitAudioStream
pInitAudioStream InitAudioStream;
Undocumented in source.
IsAudioDeviceReady
pIsAudioDeviceReady IsAudioDeviceReady;
Undocumented in source.
IsAudioStreamPlaying
pIsAudioStreamPlaying IsAudioStreamPlaying;
Undocumented in source.
IsAudioStreamProcessed
pIsAudioStreamProcessed IsAudioStreamProcessed;
Undocumented in source.
IsMusicPlaying
pIsMusicPlaying IsMusicPlaying;
Undocumented in source.
IsSoundPlaying
pIsSoundPlaying IsSoundPlaying;
Undocumented in source.
LoadMusicStream
pLoadMusicStream LoadMusicStream;
Undocumented in source.
LoadSound
pLoadSound LoadSound;
Undocumented in source.
LoadSoundFromWave
pLoadSoundFromWave LoadSoundFromWave;
Undocumented in source.
LoadWave
pLoadWave LoadWave;
Undocumented in source.
PauseAudioStream
pPauseAudioStream PauseAudioStream;
Undocumented in source.
PauseMusicStream
pPauseMusicStream PauseMusicStream;
Undocumented in source.
PauseSound
pPauseSound PauseSound;
Undocumented in source.
PlayAudioStream
pPlayAudioStream PlayAudioStream;
Undocumented in source.
PlayMusicStream
pPlayMusicStream PlayMusicStream;
Undocumented in source.
PlaySound
pPlaySound PlaySound;
Undocumented in source.
PlaySoundMulti
pPlaySoundMulti PlaySoundMulti;
Undocumented in source.
ResumeAudioStream
pResumeAudioStream ResumeAudioStream;
Undocumented in source.
ResumeMusicStream
pResumeMusicStream ResumeMusicStream;
Undocumented in source.
ResumeSound
pResumeSound ResumeSound;
Undocumented in source.
SetAudioStreamBufferSizeDefault
pSetAudioStreamBufferSizeDefault SetAudioStreamBufferSizeDefault;
Undocumented in source.
SetAudioStreamPitch
pSetAudioStreamPitch SetAudioStreamPitch;
Undocumented in source.
SetAudioStreamVolume
pSetAudioStreamVolume SetAudioStreamVolume;
Undocumented in source.
SetMasterVolume
pSetMasterVolume SetMasterVolume;
Undocumented in source.
SetMusicLoopCount
pSetMusicLoopCount SetMusicLoopCount;
Undocumented in source.
SetMusicPitch
pSetMusicPitch SetMusicPitch;
Undocumented in source.
SetMusicVolume
pSetMusicVolume SetMusicVolume;
Undocumented in source.
SetSoundPitch
pSetSoundPitch SetSoundPitch;
Undocumented in source.
SetSoundVolume
pSetSoundVolume SetSoundVolume;
Undocumented in source.
StopAudioStream
pStopAudioStream StopAudioStream;
Undocumented in source.
StopMusicStream
pStopMusicStream StopMusicStream;
Undocumented in source.
StopSound
pStopSound StopSound;
Undocumented in source.
StopSoundMulti
pStopSoundMulti StopSoundMulti;
Undocumented in source.
UnloadMusicStream
pUnloadMusicStream UnloadMusicStream;
Undocumented in source.
UnloadSound
pUnloadSound UnloadSound;
Undocumented in source.
UnloadWave
pUnloadWave UnloadWave;
Undocumented in source.
UpdateAudioStream
pUpdateAudioStream UpdateAudioStream;
Undocumented in source.
UpdateMusicStream
pUpdateMusicStream UpdateMusicStream;
Undocumented in source.
UpdateSound
pUpdateSound UpdateSound;
Undocumented in source.
WaveCopy
pWaveCopy WaveCopy;
Undocumented in source.
WaveCrop
pWaveCrop WaveCrop;
Undocumented in source.
WaveFormat
pWaveFormat WaveFormat;
Undocumented in source.

Meta