srcimon / screwbox

Minimalist 2D Java game engine. Result of covid lockdown.
MIT License
8 stars 0 forks source link

Add AudioConfiguration.playbackSpeed #364

Closed srcimon closed 2 months ago

srcimon commented 2 months ago

double modifier = 1.2 AudioFormat f = new AudioFormat(format.getEncoding(), format.getSampleRate()*modifier, format.getSampleSizeInBits(), format.getChannels(), format.getFrameSize(), format.getFrameRate(), format.isBigEndian());

srcimon commented 2 months ago

SoundOptions.speed(1.2) => must check because cannot be changed once sound is started

srcimon commented 2 months ago

will be included in next release (2.1.0)