Index

Package: Audio_Players.Cache

Description

package Audio_Players.Cache is

Classes

Sound (abstract)

type Sound is abstract tagged limited private;

Immediate Children:

Audio_Players.Cache.Mp3_Sound
Audio_Players.Cache.Sample_Sound

Primitive operations:

Delete

References:

audio_players-cache.ads:8:10 (declaration)
audio_players-cache.adb:183:37 (reference)
audio_players-cache.adb:191:51 (reference)
audio_players-cache.adb:198:46 (reference)
audio_players-cache.adb:206:59 (reference)
audio_players-cache.adb:239: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:37 (reference)
audio_players-cache.ads:111:51 (reference)
audio_players-cache.ads:119:27 (reference)
audio_players-cache.ads:138: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:53:66 (reference)
audio_players-cache.adb:119:64 (reference)
audio_players-cache.adb:160:67 (reference)
audio_players-cache.adb:205:37 (reference)
audio_players-cache.adb:206:72 (reference)
audio_players-cache.adb:216:76 (reference)
audio_players-cache.adb:217:16 (reference)
audio_players-cache.adb:299:82 (reference)
audio_players-cache.adb:300:25 (reference)
audio_players-cache.adb:347:60 (reference)
audio_players-cache.adb:351:46 (reference)
audio_players-cache.adb:363:60 (reference)
audio_players-cache.adb:380:46 (reference)
audio_players-cache.adb:405:53 (reference)
audio_players-cache.adb:406:17 (reference)
audio_players-cache.adb:414: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:125:76 (reference)
audio_players-cache.ads:144:82 (reference)
audio_players.adb:23:68 (reference)
audio_players.adb:41:44 (reference)
audio_players.adb:159:20 (reference)
audio_players.adb:178:20 (reference)
audio_players.adb:263:44 (reference)
audio_players.adb:288:21 (reference)
audio_players.adb:327: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:303: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:276: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:302: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:332: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:405:14 (body)
audio_players-cache.adb:410:9 (label)
audio_players-cache.ads:22:27 (reference)
audio_players.adb:163:16 (reference)
audio_players.adb:181:16 (reference)

Called by:

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

Calls:

Audio_Players.Cache.Load_Sound defined at audio_players-cache.adb:347: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:414:15 (body)
audio_players-cache.adb:419:9 (label)
audio_players.adb:306:25 (reference)
audio_players.adb:333: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:351:19
Unloads a sound when it is no longer being played.