Unit CastleSoundBase

Description

Sound engine basic types.

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;
 

Types

TSoundDistanceModel = (...);
 
Values
  • dmNone
  • dmInverseDistance
  • dmInverseDistanceClamped
  • dmLinearDistance
  • dmLinearDistanceClamped
  • dmExponentDistance
  • dmExponentDistanceClamped
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 theright channel sample.

Values
  • sfMono8
  • sfMono16
  • sfStereo8
  • sfStereo16
TSoundLoading = (...);
 
Values
  • slComplete
  • slStreaming

Generated by PasDoc 0.15.0.