Interface IPHXAudioDevice

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type IPHXAudioDevice = interface(IInterface)

Description

Interface for a audio device

Attributes
GUID['{F11793C4-5DFF-41AD-AE14-57EC65307374}']

Hierarchy

  • IInterface
  • IPHXAudioDevice

Overview

Methods

Public procedure EnumerateDevices(List: TPHXSoundDeviceList);
Public procedure Initialize; overload;
Public procedure Initialize(const Device: TPHXSoundDevice); overload;
Public function CreateSample: TPHXAudioSample;
Public function CreateStream: TPHXAudioStream;
Public procedure Update;
Public procedure Stop;
Public procedure Pause;
Public procedure Resume;
Public function GetVolume: Double;
Public procedure SetVolume(const Value: Double);

Description

Methods

Public procedure EnumerateDevices(List: TPHXSoundDeviceList);

Enumerate all supported devices

Public procedure Initialize; overload;

Initialize the audio engine using the default device

Public procedure Initialize(const Device: TPHXSoundDevice); overload;

Initialize the audio engine using a proviced device

Public function CreateSample: TPHXAudioSample;

Create a audio sample

Public function CreateStream: TPHXAudioStream;

Create a audio channel function CreateChannel: TPHXAudioChannel; Create a audio stream

Public procedure Update;

Update the audio engine

Public procedure Stop;

Stops all channels

Public procedure Pause;

Pause all channels

Public procedure Resume;

Resume all active channels

Public function GetVolume: Double;

Retrieves the current master volume level.

Public procedure SetVolume(const Value: Double);

Sets the output master volume.


Generated by PasDoc 0.13.0 on 2013-08-26 11:02:34