Do not expose raw audio context to final user...
...at least, directly, available if using directly audio module...
This commit is contained in:
parent
884e13ac2f
commit
1733125873
@ -100,10 +100,10 @@ void PauseMusicStream(int index); // Pause music p
|
||||
void ResumeMusicStream(int index); // Resume playing paused music
|
||||
bool IsMusicPlaying(int index); // Check if music is playing
|
||||
void SetMusicVolume(int index, float volume); // Set volume for music (1.0 is max level)
|
||||
void SetMusicPitch(int index, float pitch); // Set pitch for a music (1.0 is base level)
|
||||
float GetMusicTimeLength(int index); // Get music time length (in seconds)
|
||||
float GetMusicTimePlayed(int index); // Get current music time played (in seconds)
|
||||
int GetMusicStreamCount(void);
|
||||
void SetMusicPitch(int index, float pitch);
|
||||
int GetMusicStreamCount(void); // Get number of streams loaded
|
||||
|
||||
// used to output raw audio streams, returns negative numbers on error
|
||||
// if floating point is false the data size is 16bit short, otherwise it is float 32bit
|
||||
|
11
src/raylib.h
11
src/raylib.h
@ -895,17 +895,10 @@ void PauseMusicStream(int index); // Pause music p
|
||||
void ResumeMusicStream(int index); // Resume playing paused music
|
||||
bool IsMusicPlaying(int index); // Check if music is playing
|
||||
void SetMusicVolume(int index, float volume); // Set volume for music (1.0 is max level)
|
||||
void SetMusicPitch(int index, float pitch); // Set pitch for a music (1.0 is base level)
|
||||
float GetMusicTimeLength(int index); // Get current music time length (in seconds)
|
||||
float GetMusicTimePlayed(int index); // Get current music time played (in seconds)
|
||||
int GetMusicStreamCount(void);
|
||||
void SetMusicPitch(int index, float pitch);
|
||||
|
||||
// used to output raw audio streams, returns negative numbers on error
|
||||
// if floating point is false the data size is 16bit short, otherwise it is float 32bit
|
||||
RawAudioContext InitRawAudioContext(int sampleRate, int channels, bool floatingPoint);
|
||||
|
||||
void CloseRawAudioContext(RawAudioContext ctx);
|
||||
int BufferRawAudioContext(RawAudioContext ctx, void *data, unsigned short numberElements); // returns number of elements buffered
|
||||
int GetMusicStreamCount(void); // Get number of streams loaded
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user