diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/wavedata.h | 8 | ||||
-rw-r--r-- | src/include/wdatutil.h | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/include/wavedata.h b/src/include/wavedata.h index 82bc70f..32a8a5b 100644 --- a/src/include/wavedata.h +++ b/src/include/wavedata.h @@ -74,9 +74,11 @@ typedef struct { extern "C" { #endif -int wavedata_load(Wavedata* w, - const char* wdat_descriptor_name, - unsigned long sample_rate); +int wavedata_load(Wavedata* w, + const char* bundle_path, + const char* lib_name, + const char* wdat_descriptor_name, + double sample_rate); void wavedata_unload(Wavedata* w); diff --git a/src/include/wdatutil.h b/src/include/wdatutil.h index d7bca80..931a7f3 100644 --- a/src/include/wdatutil.h +++ b/src/include/wdatutil.h @@ -78,7 +78,7 @@ extern "C" { * * Notes: No wavetables are allocated. Use wavedata_add_table ******************************************************************************/ -Wavedata* wavedata_new(unsigned long sample_rate); +Wavedata* wavedata_new(double sample_rate); /******************************************************************************* * Description: Destroy allocated wavedata and any tables @@ -98,7 +98,7 @@ void wavedata_cleanup(Wavedata* w); * -1 otherwise ******************************************************************************/ int wavedata_add_table(Wavedata* w, - unsigned long sample_count, + uint32_t sample_count, unsigned long harmonics); /******************************************************************************* |