Skip to content

Commit

Permalink
Added description to audio systems
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed May 7, 2024
1 parent a964354 commit 192dd10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ public void playNote(Note note) {


private enum SoundSystem {
OPENAL("OpenAL", OpenALSoundSystem::initPlayback, OpenALSoundSystem::getMaxMonoSources, OpenALSoundSystem::getPlayingSources, OpenALSoundSystem::stopAllSources, OpenALSoundSystem::destroy),
JAVAX("Javax", JavaxSoundSystem::init, JavaxSoundSystem::getMaxSounds, JavaxSoundSystem::getPlayingSounds, JavaxSoundSystem::stopAllSounds, JavaxSoundSystem::destroy);
OPENAL("OpenAL (better sound quality)", OpenALSoundSystem::initPlayback, OpenALSoundSystem::getMaxMonoSources, OpenALSoundSystem::getPlayingSources, OpenALSoundSystem::stopAllSources, OpenALSoundSystem::destroy),
JAVAX("Javax (better system compatibility)", JavaxSoundSystem::init, JavaxSoundSystem::getMaxSounds, JavaxSoundSystem::getPlayingSounds, JavaxSoundSystem::stopAllSounds, JavaxSoundSystem::destroy);

private final String name;
private final IntConsumer init;
Expand Down

0 comments on commit 192dd10

Please sign in to comment.