WavStream
AudioSource → soloud.WavStream (extern class)
Static Members
create(): WavStream
Returns |
---|
WavStream |
Instance Members
mFiletype: cpp.Int32
mFilename: cpp.ConstCharStar
mSampleCount: cpp.UInt32
destroy(): Void
load(aFilename: cpp.ConstCharStar): Result
Name | Type |
---|---|
aFilename |
cpp.ConstCharStar |
Returns |
---|
Result |
loadMem(aData: cpp.Pointer<cpp.UInt8>, aDataLen: cpp.UInt32, ?aCopy: Bool = false, ?aTakeOwnership: Bool = true): Result
Name | Type | Default |
---|---|---|
aData |
cpp.Pointer<cpp.UInt8> | |
aDataLen |
cpp.UInt32 | |
aCopy |
Bool | false |
aTakeOwnership |
Bool | true |
Returns |
---|
Result |
loadToMem(aFilename: cpp.ConstCharStar): Result
Name | Type |
---|---|
aFilename |
cpp.ConstCharStar |
Returns |
---|
Result |
getLength(): Time
Returns |
---|
Time |
Metadata
Name | Parameters |
---|---|
:include |
"linc_soloud.h" |