Index

Package: Audio_Players.Cache

Description

package Audio_Players.Cache is

Classes

Sound (abstract)

type Sound is abstract new Limited_Object with private;

Ancestors:

Immediate Children:

Audio_Players.Cache.Mp3_Sound
Audio_Players.Cache.Sample_Sound

Primitive operations:

Construct
Objects.Construct (Inherited)
Objects.Delete (Inherited)
Objects.To_String (Inherited)

References:

audio_players-cache.ads:8:10 (declaration)
audio_players-cache.adb:182:44 (reference)
audio_players-cache.adb:191:51 (reference)
audio_players-cache.adb:198:46 (reference)
audio_players-cache.adb:229:9 (reference)
audio_players-cache.adb:244:9 (reference)
audio_players-cache.ads:9:32 (reference)
audio_players-cache.ads:11:46 (reference)
audio_players-cache.ads:13:35 (reference)
audio_players-cache.ads:15:35 (reference)
audio_players-cache.ads:17:35 (reference)
audio_players-cache.ads:103:10 (full declaration)
audio_players-cache.ads:109:40 (reference)
audio_players-cache.ads:111:51 (reference)
audio_players-cache.ads:119:27 (reference)
audio_players-cache.ads:142:30 (reference)

Types

A_Sound

type A_Sound is access all Sound'Class;

References:

audio_players-cache.ads:9:10 (declaration)
audio_players-cache.adb:52:66 (reference)
audio_players-cache.adb:118:64 (reference)
audio_players-cache.adb:159:67 (reference)
audio_players-cache.adb:205:37 (reference)
audio_players-cache.adb:212:76 (reference)
audio_players-cache.adb:213:16 (reference)
audio_players-cache.adb:304:82 (reference)
audio_players-cache.adb:305:25 (reference)
audio_players-cache.adb:352:60 (reference)
audio_players-cache.adb:356:46 (reference)
audio_players-cache.adb:368:60 (reference)
audio_players-cache.adb:385:46 (reference)
audio_players-cache.adb:410:53 (reference)
audio_players-cache.adb:411:17 (reference)
audio_players-cache.adb:419:42 (reference)
audio_players-cache.ads:20:53 (reference)
audio_players-cache.ads:25:42 (reference)
audio_players-cache.ads:51:66 (reference)
audio_players-cache.ads:76:64 (reference)
audio_players-cache.ads:93:67 (reference)
audio_players-cache.ads:114:37 (reference)
audio_players-cache.ads:126:76 (reference)
audio_players-cache.ads:149:82 (reference)
audio_players.adb:23:68 (reference)
audio_players.adb:41:44 (reference)
audio_players.adb:150:20 (reference)
audio_players.adb:169:20 (reference)
audio_players.adb:256:44 (reference)
audio_players.adb:281:21 (reference)
audio_players.adb:320:19 (reference)

Subprograms & Entries

Is_Done

function Is_Done
( this: not null access Sound'Class )
return Boolean;

References:

audio_players-cache.ads:11:14 (declaration)
audio_players-cache.adb:198:14 (body)
audio_players-cache.adb:201:9 (label)
audio_players.adb:296:28 (reference)

Called by:

Audio_Players.Sound_Registry.Poll_All defined at audio_players.adb:43:19

Play (abstract)

procedure Play
( this: access Sound;
looping: Boolean )
is abstract;

References:

audio_players-cache.ads:13:15 (declaration)
audio_players.adb:269:17 (dispatching call)

Called by:

Audio_Players.Sound_Registry.Play_Sound defined at audio_players.adb:41:19

Poll (abstract)

procedure Poll
( this: access Sound )
is abstract;

References:

audio_players-cache.ads:15:15 (declaration)
audio_players.adb:295:25 (dispatching call)

Called by:

Audio_Players.Sound_Registry.Poll_All defined at audio_players.adb:43:19

Stop (abstract)

procedure Stop
( this: access Sound )
is abstract;

References:

audio_players-cache.ads:17:15 (declaration)
audio_players.adb:325:21 (dispatching call)

Called by:

Audio_Players.Sound_Registry.Stop_Sound defined at audio_players.adb:45:19

Load_Sound

function Load_Sound
( filename: String )
return A_Sound;

References:

audio_players-cache.ads:20:14 (declaration)
audio_players-cache.adb:410:14 (body)
audio_players-cache.adb:415:9 (label)
audio_players-cache.ads:22:27 (reference)
audio_players.adb:154:16 (reference)
audio_players.adb:172:16 (reference)

Called by:

Audio_Players.Play_Music defined at audio_players.ads:77:15
Audio_Players.Play_Sound defined at audio_players.ads:80:15

Calls:

Audio_Players.Cache.Load_Sound defined at audio_players-cache.adb:352:19
Loads a sound from the cache. An exception is raised on error.

Unload_Sound

procedure Unload_Sound
( snd: in out A_Sound );

References:

audio_players-cache.ads:25:15 (declaration)
audio_players-cache.adb:419:15 (body)
audio_players-cache.adb:424:9 (label)
audio_players.adb:299:25 (reference)
audio_players.adb:326:17 (reference)

Called by:

Audio_Players.Sound_Registry.Poll_All defined at audio_players.adb:43:19
Audio_Players.Sound_Registry.Stop_Sound defined at audio_players.adb:45:19

Calls:

Audio_Players.Cache.Unload_Sound defined at audio_players-cache.adb:356:19
Unloads a sound when it is no longer being played.