Unit 'PasVulkan.Audio' Package
[Overview][Constants][Types][Classes][Variables][Index] [#pl_pasvulkan]

TpvAudio

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: PasVulkan.Audio.pas line 979

type TpvAudio = class

public

  Samples: TpvAudioSoundSamples;

  

  Musics: TpvAudioSoundMusics;

  

  SpatializationMode: TpvInt32;

  

  HRTF: LongBool;

  

  HRTFPreset: PpvAudioHRTFPreset;

  

  VoiceFirst: TpvAudioSoundSampleVoice;

  

  VoiceLast: TpvAudioSoundSampleVoice;

  

  SampleRate: TpvInt32;

  

  Channels: TpvInt32;

  

  Bits: TpvInt32;

  

  SpatializationWaterLowPassCW: TpvFloat;

  

  SpatializationWaterWaterBoostLowPassCW: TpvInt32;

  

  SpatializationWaterWaterBoostHighPassCW: TpvInt32;

  

  SpatializationWaterWaterBoost: TpvInt32;

  

  SpatializationLowPassCW: TpvFloat;

  

  SpatializationDelayAir: TpvFloat;

  

  SpatializationDelayUnderwater: TpvFloat;

  

  SpatializationDelayPowerOfTwo: TpvInt32;

  

  SpatializationDelayMask: TpvInt32;

  

  BufferSamples: TpvInt32;

  

  BufferChannelSamples: TpvInt32;

  

  BufferOutputChannelSamples: TpvInt32;

  

  MixingBufferSize: TpvInt32;

  

  OutputBufferSize: TpvInt32;

  

  MixingBuffer: PpvAudioSoundSampleValues;

  

  MusicMixingBuffer: PpvAudioSoundSampleValues;

  

  EffectMixingBuffer: PpvAudioSoundSampleValues;

  

  OutputBuffer: TpvPointer;

  

  MasterVolume: TpvInt32;

  

  SampleVolume: TpvInt32;

  

  MusicVolume: TpvInt32;

  

  RampingSamples: TpvInt32;

  

  RampingStepSamples: TpvInt32;

  

  AGCActive: LongBool;

  

  AGC: TpvInt32;

  

  AGCCounter: TpvInt32;

  

  AGCInterval: TpvInt32;

  

  CriticalSection: TPasMPCriticalSection;

  

  CubicSplineTable: TpvAudioResamplerCubicSplineArray;

  

  ListenerViewMatrix: TpvMatrix4x4;

  

  ListenerVelocity: TpvVector3;

  

  ListenerUnderwater: LongBool;

  

  ListenerGeneration: TpvUInt64;

  

  LowPassLeft: TpvInt32;

  

  LowPassRight: TpvInt32;

  

  LowPassLast: TpvInt32;

  

  LowPassCurrent: TpvInt32;

  

  LowPassIncrement: TpvInt32;

  

  LowPassRampingLength: TpvInt32;

  

  WaterBoostLowPassLeft: array [0..3] of TpvInt32;

  

  WaterBoostLowPassRight: array [0..3] of TpvInt32;

  

  WaterBoostMiddlePassLeft: TpvInt32;

  

  WaterBoostMiddlePassRight: TpvInt32;

  

  WaterBoostHighPassLeft: array [0..3] of TpvInt32;

  

  WaterBoostHighPassRight: array [0..3] of TpvInt32;

  

  WaterBoostHistoryLeft: array [0..3] of TpvInt32;

  

  WaterBoostHistoryRight: array [0..3] of TpvInt32;

  

  UpdateHook: TpvAudioUpdateHook;

  

  PitchShifter: TpvAudioPitchShifter;

  

  Reverb: TpvAudioReverb;

  

  PanningLUT: array [0..$10000] of TpvInt32;

  

  RingBuffer: TPasMPSingleProducerSingleConsumerRingBuffer;

  

  Thread: TpvAudioThread;

  

  IsReady: LongBool;

  

  IsMuted: LongBool;

  

  IsActive: LongBool;

  

  ConeScale: TpvScalar;

  

  InnerAngle: TpvScalar;

  

  OuterAngle: TpvScalar;

  

  OuterGain: TpvScalar;

  

  OuterGainHF: TpvScalar;

  

  GlobalVoiceManager: TpvAudioSoundSampleGlobalVoiceManager;

  

  CommandQueue: TpvAudioCommandQueue;

  

  WAVStreamDumpMusic: TpvAudioWAVStreamDump;

  

  WAVStreamDumpSample: TpvAudioWAVStreamDump;

  

  WAVStreamDumpFinalMix: TpvAudioWAVStreamDump;

  

  PCG32: TpvPCG32;

  

  constructor Create();

  

  destructor Destroy; override;

  

  function GetMixerMasterVolume;

  

  function GetMixerMusicVolume;

  

  function GetMixerSampleVolume;

  

  procedure SetMixerMasterVolume();

  

  procedure SetMixerMusicVolume();

  

  procedure SetMixerSampleVolume();

  

  procedure SetMixerAGC();

  

  procedure Setup;

  

  procedure ClipBuffer();

  

  procedure FillBuffer;

  

  procedure Lock;

  

  procedure Unlock;

  

  procedure SetActive();

  

  procedure Mute;

  

  procedure Unmute;

  

  property MixerMasterVolume: TpvFloat; [rw]

  

  property MixerMusicVolume: TpvFloat; [rw]

  

  property MixerSampleVolume: TpvFloat; [rw]

  

  property OnFillBuffer: TpvAudioOnFillBuffer; [rw]

  

end;

Inheritance

TpvAudio

  

|

TObject



CT Web help

CodeTyphon Studio