- Removed volume per channel
- [NEW] JA_SetSoundVolume sets volume for all sound effects - [NEW] JA_SetMusicVolume sets volume for the music - JA_SetVolume works as always: sets volume for both, with sounds volume halved.
This commit is contained in:
@@ -16,6 +16,7 @@ void JA_PauseMusic();
|
||||
void JA_ResumeMusic();
|
||||
void JA_StopMusic();
|
||||
int JA_SetVolume(int volume);
|
||||
int JA_SetMusicVolume(int volume);
|
||||
JA_Music_state JA_GetMusicState();
|
||||
void JA_DeleteMusic(JA_Music music);
|
||||
|
||||
@@ -23,10 +24,10 @@ JA_Sound JA_NewSound(Uint8* buffer, Uint32 length);
|
||||
JA_Sound JA_LoadSound(const char* filename);
|
||||
int JA_PlaySound(JA_Sound sound, const int loop = 0);
|
||||
void JA_DeleteSound(JA_Sound sound);
|
||||
int JA_SetSoundVolume(int volume);
|
||||
|
||||
void JA_PauseChannel(const int channel);
|
||||
void JA_ResumeChannel(const int channel);
|
||||
void JA_StopChannel(const int channel);
|
||||
JA_Channel_state JA_GetChannelState(const int channel);
|
||||
int JA_SetChannelVolume(const int channel, int volume);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user