mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-29 19:54:05 +02:00
API CHANGE: Add an onCopy callback to ma_data_source_vtable.
This is used for making a copy of a data source. Data sources are not required to support copying, in which case this callback can be set to NULL, or it can return MA_NOT_IMPLEMENTED. This commit just sets up the infrastructure. As of this commit, no data sources actually implement this, however future commits will be introducing support in stages.
This commit is contained in:
@@ -49,6 +49,7 @@ static ma_data_source_vtable ma_gDataSourceVTable_libopus =
|
||||
{
|
||||
ma_libopus_ds_sizeof,
|
||||
ma_libopus_ds_uninit,
|
||||
NULL, /* onCopy. Copying is not supported. */
|
||||
ma_libopus_ds_read,
|
||||
ma_libopus_ds_seek,
|
||||
ma_libopus_ds_get_data_format,
|
||||
|
||||
Reference in New Issue
Block a user