Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias <webmaster@pottgames.de>
  • Loading branch information
Hangman committed Dec 25, 2024
1 parent 1ba6693 commit db23d30
Show file tree
Hide file tree
Showing 124 changed files with 2,719 additions and 2,737 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/de/pottgames/tuningfork/ALExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ public enum ALExtension {


String getAlSpecifier() {
return this.alSpecifier;
return alSpecifier;
}


boolean isAlc() {
return this.alc;
return alc;
}

}
12 changes: 6 additions & 6 deletions core/src/main/java/de/pottgames/tuningfork/AlEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,32 @@ public AlEvent(int eventType, int object, int param, int length, long message, l


public int getEventType() {
return this.eventType;
return eventType;
}


public int getObject() {
return this.object;
return object;
}


public int getParam() {
return this.param;
return param;
}


public int getLength() {
return this.length;
return length;
}


public long getMessage() {
return this.message;
return message;
}


public long getUserParam() {
return this.userParam;
return userParam;
}

}
178 changes: 89 additions & 89 deletions core/src/main/java/de/pottgames/tuningfork/Audio.java

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions core/src/main/java/de/pottgames/tuningfork/AudioConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ public AudioConfig(AudioDeviceConfig deviceConfig, DistanceAttenuationModel dist
*/
public AudioConfig(AudioDeviceConfig deviceConfig, DistanceAttenuationModel distanceAttenuationModel, int simultaneousSources, int idleTasks,
Virtualization virtualization, TuningForkLogger logger) {
this.setDeviceConfig(deviceConfig);
this.setDistanceAttenuationModel(distanceAttenuationModel);
this.setSimultaneousSources(simultaneousSources);
this.setIdleTasks(idleTasks);
this.setLogger(logger);
this.setVirtualization(virtualization);
this.setSpatialization(Spatialization.ON);
this.setWavDecoderProvider(new DefaultWavDecoderProvider());
setDeviceConfig(deviceConfig);
setDistanceAttenuationModel(distanceAttenuationModel);
setSimultaneousSources(simultaneousSources);
setIdleTasks(idleTasks);
setLogger(logger);
setVirtualization(virtualization);
setSpatialization(Spatialization.ON);
setWavDecoderProvider(new DefaultWavDecoderProvider());
}


public AudioDeviceConfig getDeviceConfig() {
return this.deviceConfig;
return deviceConfig;
}


Expand All @@ -123,7 +123,7 @@ public AudioConfig setDeviceConfig(AudioDeviceConfig deviceConfig) {


public DistanceAttenuationModel getDistanceAttenuationModel() {
return this.distanceAttenuationModel;
return distanceAttenuationModel;
}


Expand All @@ -144,7 +144,7 @@ public AudioConfig setDistanceAttenuationModel(DistanceAttenuationModel distance


public int getSimultaneousSources() {
return this.simultaneousSources;
return simultaneousSources;
}


Expand All @@ -165,7 +165,7 @@ public AudioConfig setSimultaneousSources(int simultaneousSources) {


public int getIdleTasks() {
return this.idleTasks;
return idleTasks;
}


Expand All @@ -186,7 +186,7 @@ public AudioConfig setIdleTasks(int idleTasks) {


public Spatialization getSpatialization() {
return this.spatialization;
return spatialization;
}


Expand All @@ -205,7 +205,7 @@ public AudioConfig setSpatialization(Spatialization spatialization) {


public AssetManager getAssetManager() {
return this.assetManager;
return assetManager;
}


Expand All @@ -225,7 +225,7 @@ public AudioConfig setAssetManager(AssetManager assetManager) {


public Virtualization getVirtualization() {
return this.virtualization;
return virtualization;
}


Expand All @@ -252,7 +252,7 @@ public AudioConfig setVirtualization(Virtualization virtualization) {
* @return this
*/
public boolean useNativeDecoders() {
return this.useNativeDecoders;
return useNativeDecoders;
}


Expand All @@ -264,13 +264,13 @@ public boolean useNativeDecoders() {
* @return this
*/
public AudioConfig setUseNativeDecoders(boolean value) {
this.useNativeDecoders = value;
useNativeDecoders = value;
return this;
}


public TuningForkLogger getLogger() {
return this.logger;
return logger;
}


Expand All @@ -292,7 +292,7 @@ public AudioConfig setLogger(TuningForkLogger logger) {


public WavDecoderProvider getResamplerProvider() {
return this.wavDecoderProvider;
return wavDecoderProvider;
}


Expand All @@ -305,7 +305,7 @@ public WavDecoderProvider getResamplerProvider() {
*/
public AudioConfig setWavDecoderProvider(WavDecoderProvider decoderProvider) {
Objects.requireNonNull(decoderProvider);
this.wavDecoderProvider = decoderProvider;
wavDecoderProvider = decoderProvider;
return this;
}

Expand Down Expand Up @@ -337,7 +337,7 @@ public enum Spatialization {


int getAlId() {
return this.alId;
return alId;
}


Expand Down Expand Up @@ -395,7 +395,7 @@ public enum Virtualization {


int getAlId() {
return this.alId;
return alId;
}


Expand Down
Loading

0 comments on commit db23d30

Please sign in to comment.