-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#23) Split Audio into MemoryAudio/StreamedAudio
New Additions: - `Audio` interface, stating the standard information and features of all `Audio` instances - Play, Pause, Resume, Stop Controls - Audio Event Hooks (open, close, play, pause, resume, stop) - Playback state-keeping - Playback position checking - `MemoryAudio` class, the original `Audio` class but more aptly named for how it works. - Explicit Looping Controls (set loop count, loop points, immediate loop stopping) - Explicit playback position controls (seeking, rewinding) - `StreamedAudio` class, the new `Audio` class which streams audio as it comes in, rather than loading it into memory. - Gain Controls - Pan Controls - Balance Controls - Mute Controls Breaking Changes: - `AudioManager` now handles all loading/unloading for both `MemoryAudio` and `StreamedAudio` - `MemoryAudioPlayer` and `StreamedAudioPlayer` now handle all audio playing/state changing for `MemoryAudio` and `StreamedAudio` respectively Other Changes: - Added more audio unit tests
- Loading branch information
1 parent
8b69f1b
commit bc3bbd4
Showing
11 changed files
with
1,085 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.