Arcade
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
GameAPI.AudioBase< TGame, TImplementation > Class Template Reference

Base class for audio hardware interfaces. More...

Inheritance diagram for GameAPI.AudioBase< TGame, TImplementation >:
GameAPI.Peripheral< TGame, TProvider, TImplementation > GameAPI.Peripheral GameAPI.BudgetBoy.Audio

Public Member Functions

void CopyEvent (Stream stream)
 
- Public Member Functions inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation >
override void Dispose ()
 

Protected Member Functions

override void OnSerializeSetup (Stream stream)
 
override void OnCopyFrame (Stream stream)
 
override void OnUpdateFrame (double dt)
 
- Protected Member Functions inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation >
override void OnInitialize ()
 
virtual void OnAttachImplementation ()
 
- Protected Member Functions inherited from GameAPI.Peripheral
void ClearFrameWriter ()
 
virtual void OnRegisterResourceTypes (ResourceManager library)
 
virtual void OnLoadResources (Resources volume)
 
virtual void OnReset ()
 
virtual void OnDeserializeSetup (Stream stream)
 
virtual void OnStartControlling ()
 
virtual void OnStopControlling ()
 
virtual void OnDeserializeFrame (Stream stream)
 
virtual void OnSerializeFrame (Stream stream)
 

Properties

int MaxChannels [get]
 The maximum number of individual sounds that can play concurrently. More...
 
- Properties inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation >
virtual bool ShouldUpdate [get]
 
- Properties inherited from GameAPI.Peripheral
BinaryWriter FrameWriter [get]
 

Detailed Description

Base class for audio hardware interfaces.

Type Constraints
TGame :GameBase 
TImplementation :PeripheralImplementation<AudioProvider> 
TImplementation :new() 

Member Function Documentation

void GameAPI.AudioBase< TGame, TImplementation >.CopyEvent ( Stream  stream)
inline
override void GameAPI.AudioBase< TGame, TImplementation >.OnCopyFrame ( Stream  stream)
inlineprotectedvirtual

Reimplemented from GameAPI.Peripheral.

override void GameAPI.AudioBase< TGame, TImplementation >.OnSerializeSetup ( Stream  stream)
inlineprotectedvirtual

Reimplemented from GameAPI.Peripheral.

Reimplemented in GameAPI.BudgetBoy.Audio.

override void GameAPI.AudioBase< TGame, TImplementation >.OnUpdateFrame ( double  dt)
inlineprotectedvirtual

Reimplemented from GameAPI.Peripheral.

Property Documentation

int GameAPI.AudioBase< TGame, TImplementation >.MaxChannels
get

The maximum number of individual sounds that can play concurrently.