fix audio playing for too long
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
45bb4a44e0
commit
0d26c404ee
@ -1,3 +1,3 @@
|
||||
#maven.buildNumber.plugin properties file
|
||||
#Sun Apr 21 21:07:34 EDT 2024
|
||||
buildNumber=101
|
||||
#Sun Apr 21 23:25:24 EDT 2024
|
||||
buildNumber=102
|
||||
|
||||
@ -241,14 +241,22 @@ Another pass at grass
|
||||
|
||||
Make cursor less jittery (ie always up to date with where the camera is facing)
|
||||
|
||||
Physics Tweaks
|
||||
|
||||
Fix controls not repeating
|
||||
|
||||
|
||||
|
||||
# TODO
|
||||
|
||||
Character movement in particular feels off
|
||||
- Bring back strafing
|
||||
- Fix interaction with networking
|
||||
|
||||
Fix grass not generating for closest tiles
|
||||
|
||||
Fix being able to walk off far side of the world (ie in level editor)
|
||||
|
||||
Data Cleanup
|
||||
- Clean up creatures
|
||||
- Remove unused ones
|
||||
@ -272,6 +280,8 @@ Revisit first attempt at instancing (its really laggy lol)
|
||||
|
||||
Shader library system
|
||||
- Abiltiy to include the shader library in individual files (ie implement #include)
|
||||
|
||||
Break control handlers into separate files with new logic to transition between control handler states
|
||||
|
||||
|
||||
Transvoxel Algorithm
|
||||
@ -384,6 +394,8 @@ Upgrade terrain generation algorithms
|
||||
- Make a route hard coded that throws you straight into a generated world
|
||||
- This makes it easier to tweak algo and immediately get results
|
||||
|
||||
Documentation
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ public class AudioBuffer {
|
||||
STBVorbis.stb_vorbis_get_info(decoder, info);
|
||||
int channels = info.channels();
|
||||
int lengthSamples = STBVorbis.stb_vorbis_stream_length_in_samples(decoder);
|
||||
this.length = STBVorbis.stb_vorbis_stream_length_in_seconds(decoder) * 10;
|
||||
this.length = STBVorbis.stb_vorbis_stream_length_in_seconds(decoder) * 1;
|
||||
|
||||
//reads the main audio data
|
||||
pcm = MemoryUtil.memAllocShort(lengthSamples);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user