Unit CastleSoundBase
Description
Sound engine basic types.
Source: src/audio/castlesoundbase.pas (line 17).
Uses
- SysUtils
- Generics.Collections
Overview
Classes, Interfaces, Objects and Records
| Name | Description |
|---|---|
Class ENoMoreSources |
|
Class ESoundFileError |
|
Class TSoundDevice |
|
Class TSoundDeviceList |
Functions and Procedures
function DataFormatToStr(const DataFormat: TSoundDataFormat): string; |
Types
TSoundDistanceModel = (...); |
TSoundDataFormat = (...); |
TSoundLoading = (...); |
Description
Functions and Procedures
function DataFormatToStr(const DataFormat: TSoundDataFormat): string; |
|
This item has no description. |
Types
TSoundDistanceModel = (...); |
|
How does distance affect spatial sounds, used for TSoundEngine.DistanceModel. Values
|
TSoundDataFormat = (...); |
|
Sound sample format. 8-bit data is unsigned. Just like in case of 8-bit WAV files, and OpenAL AL_FORMAT_MONO8 / AL_FORMAT_STEREO8: It is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero. 16-bit data is signed. Just like in case of 16-bit WAV files, and OpenAL AL_FORMAT_MONO16 / AL_FORMAT_STEREO16: It is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample. Values
|
TSoundLoading = (...); |
|
How to load a sound buffer. Values
|
Generated by PasDoc 0.17.0.snapshot.