Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
dr_libs/dr_wav.h
✓ #include <dr_libs/dr_wav.h>
Load a WAV file using dr_wav
#define DR_WAV_IMPLEMENTATION
#include "dr_libs/dr_wav.h"
#include <stdio.h>
int main() {
unsigned int channels, sampleRate;
drwav_uint64 totalPCMFrameCount;
float* pSampleData = drwav_open_file_and_read_pcm_frames_f32("audio.wav", &channels, &sampleRate, &totalPCMFrameCount, NULL);
if (pSampleData) {
printf("Loaded %llu frames\n", totalPCMFrameCount);
drwav_free(pSampleData, NULL);
}
return 0;
}
Upgrade
Version history
2026-03-03latest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.