WAV audio loader and writer. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_wav - v0.12.16 - 2020-12-02
dr_wav - v0.12.17 - 2021-01-17
David Reid - mackron@gmail.com
...
...
@@ -65,7 +65,7 @@ If you just want to quickly open and read the audio data in a single operation y
...
drwav_free(pSampleData);
drwav_free(pSampleData, NULL);
```
The examples above use versions of the API that convert the audio data to a consistent format (32-bit signed PCM, in this case), but you can still output the
if(pWav->container!=drwav_container_rf64){/* The data chunk size for RF64 will always be set to 0xFFFFFFFF here. It was set to it's true value earlier. */
/* drwav_result_from_errno() is only used for fopen() and wfopen() so putting it inside DR_WAV_NO_STDIO for now. If something else needs this later we can move it out. */
We're just going to borrow the implementation from the drwav_read_s16() since IMA-ADPCM is a little bit more complicated than other formats and I don't
...
...
@@ -4751,6 +4699,7 @@ static drwav_uint64 drwav_read_pcm_frames_f32__ima(drwav* pWav, drwav_uint64 fra
We're just going to borrow the implementation from the drwav_read_s16() since IMA-ADPCM is a little bit more complicated than other formats and I don't
...
...
@@ -5166,6 +5117,7 @@ static drwav_uint64 drwav_read_pcm_frames_s32__ima(drwav* pWav, drwav_uint64 fra