SoundData (Русский)
Содержит не обработанные аудио данные. Чтобы воспроизвести эти данные, вы должны сначала загрузить их в объект Source.
Функции
ByteData | Data object containing arbitrary bytes in an contiguous memory. |
CompressedData | Byte data compressed using a specific algorithm. |
CompressedImageData | Compressed image data designed to stay compressed in RAM and on the GPU. |
Data:clone | Creates a new copy of the Data object. |
Data:getFFIPointer | Gets an FFI pointer to the Data. |
Data:getPointer | Gets a pointer to the Data. |
Data:getSize | Gets the Data's size in bytes. |
Data:getString | Gets the full Data as a string. |
FileData | Data representing the contents of a file. |
FontData | A FontData represents a font. |
GlyphData | A GlyphData represents a drawable symbol of a font. |
ImageData | Raw (decoded) image data. |
SoundData | Contains raw audio samples. |
SoundData:copyFrom | Copies the specified section of the given SoundData into this one. |
SoundData:getBitDepth | Returns the number of bits per sample. |
SoundData:getBits | Returns the number of bits per sample. |
SoundData:getChannelCount | Returns the number of channels in the SoundData. |
SoundData:getChannels | Returns the number of channels in the stream. |
SoundData:getDuration | Gets the duration of the sound data. |
SoundData:getSample | Gets the value of the samplepoint at the specified position. |
SoundData:getSampleCount | Returns the sample count of the SoundData. |
SoundData:getSampleRate | Returns the sample rate of the SoundData. |
SoundData:setSample | Sets the sample at the specified position. |
SoundData:slice | Creates a new copy of a section of this SoundData. |
Базовый тип
Смотрите также
Другие языки
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info