
# Portable Sound -- using Ada tasking and OpenAL



**ver 1.0.0 -- 10nov2020**
* Initial release.


## Description

This is a cross-platform sound-playing package for Ada apps that can asynchronously start and stop music loops, as well as initiate transient sounds.

It plays WAV files, via OpenAL, on Windows, OSX, and linux platforms.

It is suitable for any Ada application that needs music or sound loops; eg. games.

--------------------------------------------------------
## Usage:

See snd4ada.ads.

Generally, when you initialize a sound or soundloop, you specify its file name and retrieve an integer "key" that is used to play it sometime later.


========================================================

## Examples:

See ./adaExample/one.adb
See ./adaExample/two.adb


