Skip to content

Commit

Permalink
Update the simple_playback_sine example.
Browse files Browse the repository at this point in the history
  • Loading branch information
mackron committed Sep 4, 2023
1 parent 2922859 commit 537c4ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/simple_playback_sine.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ int main(int argc, char** argv)
#endif

ma_device_uninit(&device);
ma_waveform_uninit(&sineWave); /* Uninitialize the waveform after the device so we don't pull it from under the device while it's being reference in the data callback. */

(void)argc;
(void)argv;
Expand Down

0 comments on commit 537c4ca

Please sign in to comment.