Wav
AudioSource → soloud.Wav (extern class)
Static Members
create(): Wav
Returns |
---|
Wav |
Instance Members
mData: cpp.Pointer<cpp.Float32>
mSampleCount: cpp.UInt32
destroy(): Void
load(aFilename: cpp.ConstCharStar): Result
Name | Type |
---|---|
aFilename |
cpp.ConstCharStar |
Returns |
---|
Result |
loadMem(aMem: cpp.RawPointer<cpp.UInt8>, aLength: cpp.UInt32, ?aCopy: Bool = false, ?aTakeOwnership: Bool = true): Result
Name | Type | Default |
---|---|---|
aMem |
cpp.RawPointer<cpp.UInt8> | |
aLength |
cpp.UInt32 | |
aCopy |
Bool | false |
aTakeOwnership |
Bool | true |
Returns |
---|
Result |
loadRawWave8(aMem: cpp.RawPointer<cpp.UInt8>, aLength: cpp.UInt32, ?aSamplerate: cpp.Float32 = 44100.0, ?aChannels: cpp.UInt32 = 1): Result
Name | Type | Default |
---|---|---|
aMem |
cpp.RawPointer<cpp.UInt8> | |
aLength |
cpp.UInt32 | |
aSamplerate |
cpp.Float32 | 44100.0 |
aChannels |
cpp.UInt32 | 1 |
Returns |
---|
Result |
loadRawWave16(aMem: cpp.RawPointer<cpp.UInt16>, aLength: cpp.UInt32, ?aSamplerate: cpp.Float32 = 44100.0, ?aChannels: cpp.UInt32 = 1): Result
Name | Type | Default |
---|---|---|
aMem |
cpp.RawPointer<cpp.UInt16> | |
aLength |
cpp.UInt32 | |
aSamplerate |
cpp.Float32 | 44100.0 |
aChannels |
cpp.UInt32 | 1 |
Returns |
---|
Result |
loadRawWave(aMem: cpp.RawPointer<cpp.Float32>, aLength: cpp.UInt32, ?aSamplerate: cpp.Float32 = 44100.0, ?aChannels: cpp.UInt32 = 1, ?aCopy: Bool = false, ?aTakeOwnership: Bool = true): Result
Name | Type | Default |
---|---|---|
aMem |
cpp.RawPointer<cpp.Float32> | |
aLength |
cpp.UInt32 | |
aSamplerate |
cpp.Float32 | 44100.0 |
aChannels |
cpp.UInt32 | 1 |
aCopy |
Bool | false |
aTakeOwnership |
Bool | true |
Returns |
---|
Result |
getLength(): Time
Returns |
---|
Time |
Metadata
Name | Parameters |
---|---|
:include |
"linc_soloud.h" |