| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Implement xas_bank_player_set_flags() to allow setting certain
playback flags, such as, XAS_BANK_PLAYER_LOOP
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* Implement xas_object as a base "class" for all playback state
objects; allow implementation of start() and stop() methods to
control playback
* Move code for setting gain, bank slot to a new method,
xas_bank_player_select()
* Remove code from xas_bank_player_start() setting gain, bank slot
* Add xas_object header to each monaural playable object
|
|
|
|
|
| |
Implement xas_bank_load_file() to load a sample from a RIFF file on
disk into a sample bank
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* Implement xas_bank_player type to decouple player state from
sample storage, to allow multiple concurrent players against a
single sample bank
* Refactor examples/say.c to use xas_bank_player
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* Implement xas_audio_format struct to provide sample size,
channels, and sample rate
* Refactor argument order for most functions to allow a reasonable
reading of argument types, when replacing three separate size_t
arguments with one xas_audio_format object
|
| |
|
|
|
|
|
| |
Implement xas_bank_active() to allow one to determine if a sample bank
is currently active
|
|
Initial implementation of src/bank.c to act as a sample bank
|