Fix compilation errors.

This commit is contained in:
David Reid
2025-02-23 13:08:56 +10:00
parent 7a250aa9f9
commit e79e35a5ef
3 changed files with 12 additions and 12 deletions
@@ -115,7 +115,7 @@ int main(int argc, char** argv)
/* Excite/modulator. Attached to input bus 1 of the vocoder node. */
result = ma_audio_buffer_ref_init(device.capture.format, device.capture.channels, NULL, 0, &g_exciteData);
result = ma_audio_buffer_ref_init(device.capture.format, device.capture.channels, device.sampleRate, NULL, 0, &g_exciteData);
if (result != MA_SUCCESS) {
printf("Failed to initialize audio buffer for source.");
goto done2;