◆ clone()
◆ getBitDepth()
◆ getChannelCount()
◆ getDuration()
Gets the duration of the sound data.
- Returns
- The duration of the sound data in seconds.
-
number
◆ getLastError()
◆ getSample()
Gets the value of a sample using an explicit sample index instead of interleaving them in the sample position parameter.
- Parameters
-
- Returns
- number
- 重载
- fun(self:audio.SoundData, i:number):number
◆ getSampleCount()
◆ getSampleRate()
◆ getSize()
Gets the Data's size in bytes.
- Returns
- The size of the Data in bytes.
-
number
◆ setSample()
Sets the value of a sample using an explicit sample index instead of interleaving them in the sample position parameter.
- Parameters
-
i | number |
channel | number |
sample | number |
- Returns
- audio.SoundData
- 重载
- fun(self:audio.SoundData, i:number, sample:number):audio.SoundData
The documentation for this class was generated from the following file: