summaryrefslogtreecommitdiffstats
path: root/include/xas/object.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement xas_object_call_tableXANTRONIX Development2022-03-171-10/+38
| | | | | | | | | | | | Changes: * Implement xas_object_call_table as a static structure to allow creating a static dispatch table on a per-compilation-unit basis * Refactor xas_object to provide a single pointer to a xas_object_call_table * Refactor all object implementations to use xas_object_call_table
* Add index argument to bank entry change eventsXANTRONIX Development2022-03-161-2/+4
|
* Add index argument to xas_object_start(), stop()XANTRONIX Development2022-03-161-4/+4
| | | | | | | | | | | Changes: * Refactor all start, stop dispatch methods to accept an index argument, whether it is used or not * Use 'index' slot of xas_seq_event to store index to pass to xas_object_start(), xas_object_stop() for start and stop events
* Rename xas_object_set_bank() to set_entry()XANTRONIX Development2022-03-161-3/+3
|
* Add xas_object callback to set object flagsXANTRONIX Development2022-03-161-0/+5
|
* fix typoXANTRONIX Development2022-03-161-1/+1
|
* Add optional callbacks to xas_objectXANTRONIX Development2022-03-161-0/+12
| | | | | | | | | | | | | | Changes: * Implement xas_object_init() to initialise an object call table to all null values * Rework dispatch methods to fail gracefully if no pointer value is provided for a given callback entry Additional changes: * Add callbacks for changing bank and frequency
* Implement xas_object_destroy()XANTRONIX Development2022-03-011-0/+5
|
* Implement xas_object_stream_new()XANTRONIX Development2022-02-281-3/+10
| | | | | Implement xas_object_stream_new() proxy to allow generic creation of an audio stream from any given audible object
* Add gain setting callback to xas_objectXANTRONIX Development2022-02-281-2/+7
|
* Implement xas_objectXANTRONIX Development2022-02-271-0/+19
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