mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-20 07:24:06 +09:00
audiobank now returns samples in floats
This commit is contained in:
@@ -25,7 +25,7 @@ abstract class AudioBank : Disposable {
|
||||
abstract val totalSizeInSamples: Long
|
||||
abstract fun currentPositionInSamples(): Long
|
||||
|
||||
abstract fun readBytes(buffer: ByteArray): Int
|
||||
abstract fun readSamples(bufferL: FloatArray, bufferR: FloatArray): Int
|
||||
abstract fun reset()
|
||||
|
||||
abstract val songFinishedHook: (AudioBank) -> Unit
|
||||
|
||||
Reference in New Issue
Block a user