Index

Package: Audio_Players

Description

package Audio_Players is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Audio_Player

type Audio_Player is new Limited_Object and Process and Event_Listener with private;

Ancestors:

Primitive operations:

Construct
Delete (overriding Objects.Delete)
Events.Listeners.To_String (Inherited)
Get_Process_Name (overriding Processes.Get_Process_Name)
Handle_Event (overriding Events.Listeners.Handle_Event)
Objects.Construct (Inherited)
Objects.To_String (Inherited)
Tick (overriding Processes.Tick)
Audio_Player objects listen for certain audio events and play sound effects or music on command. The player contains an internal task for playing audio in the background.

Types

A_Audio_Player

type A_Audio_Player is access all Audio_Player'Class;

Subprograms & Entries

Create_Audio_Player

function Create_Audio_Player
( corral: not null A_Corral ) return A_Audio_Player;
Creates a new Audio_Player that will listen for audio events in 'corral'.

Delete

procedure Delete
( this: in out A_Audio_Player );
Deletes the Audio_Player.