summaryrefslogtreecommitdiffstats
path: root/src/bank.c
Commit message (Collapse)AuthorAgeFilesLines
* Destroy managed spatial scene objectsXANTRONIX Development2022-03-011-0/+1
|
* Set stream_new callback for audible object typesXANTRONIX Development2022-02-281-3/+4
|
* Ensure default bank player gain is 1.0XANTRONIX Development2022-02-281-1/+1
|
* Allow setting bank player gain separatelyXANTRONIX Development2022-02-281-6/+23
|
* Implement xas_objectXANTRONIX Development2022-02-271-5/+13
| | | | | | | | | | | | | | | 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()XANTRONIX Development2022-02-231-0/+32
| | | | | Implement xas_bank_load_file() to load a sample from a RIFF file on disk into a sample bank
* Avoid xas_bank_record() infinite loopXANTRONIX Development2022-02-231-0/+2
|
* Ensure xas_bank_record() uses same audio formatXANTRONIX Development2022-02-231-0/+7
|
* Implement xas_bank_player typeXANTRONIX Development2022-02-231-37/+74
| | | | | | | | | | 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
* Implement xas_audio_format typeXANTRONIX Development2022-02-091-24/+20
| | | | | | | | | | | 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
* don't forget to adjust gain on sample playbackXANTRONIX Development2022-02-031-5/+9
|
* i'm a dingus cat :333XANTRONIX Development2022-02-031-1/+3
|
* holy shit idk what just happened but it worksXANTRONIX Development2022-02-031-28/+65
|
* Implement xas_bank_active()XANTRONIX Development2022-02-031-0/+4
| | | | | Implement xas_bank_active() to allow one to determine if a sample bank is currently active
* that can fit on a single lineXANTRONIX Development2022-02-031-2/+1
|
* Shorten he name of XAS_AUDIO_ constantsXANTRONIX Development2022-02-031-1/+1
|
* Initial implementation of src/bank.cXANTRONIX Development2022-02-021-0/+109
Initial implementation of src/bank.c to act as a sample bank