mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2025-01-03 16:15:27 +00:00
soundio_disconnect: null out more function pointers
This commit is contained in:
parent
c3e3af2061
commit
0887b1ee3d
|
@ -251,6 +251,7 @@ void soundio_disconnect(struct SoundIo *soundio) {
|
||||||
si->flush_events = nullptr;
|
si->flush_events = nullptr;
|
||||||
si->wait_events = nullptr;
|
si->wait_events = nullptr;
|
||||||
si->wakeup = nullptr;
|
si->wakeup = nullptr;
|
||||||
|
si->force_device_scan = nullptr;
|
||||||
|
|
||||||
si->outstream_open = nullptr;
|
si->outstream_open = nullptr;
|
||||||
si->outstream_destroy = nullptr;
|
si->outstream_destroy = nullptr;
|
||||||
|
@ -258,12 +259,16 @@ void soundio_disconnect(struct SoundIo *soundio) {
|
||||||
si->outstream_begin_write = nullptr;
|
si->outstream_begin_write = nullptr;
|
||||||
si->outstream_end_write = nullptr;
|
si->outstream_end_write = nullptr;
|
||||||
si->outstream_clear_buffer = nullptr;
|
si->outstream_clear_buffer = nullptr;
|
||||||
|
si->outstream_pause = nullptr;
|
||||||
|
si->outstream_get_latency = nullptr;
|
||||||
|
|
||||||
si->instream_open = nullptr;
|
si->instream_open = nullptr;
|
||||||
si->instream_destroy = nullptr;
|
si->instream_destroy = nullptr;
|
||||||
si->instream_start = nullptr;
|
si->instream_start = nullptr;
|
||||||
si->instream_begin_read = nullptr;
|
si->instream_begin_read = nullptr;
|
||||||
si->instream_end_read = nullptr;
|
si->instream_end_read = nullptr;
|
||||||
|
si->instream_pause = nullptr;
|
||||||
|
si->instream_get_latency = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void soundio_flush_events(struct SoundIo *soundio) {
|
void soundio_flush_events(struct SoundIo *soundio) {
|
||||||
|
|
Loading…
Reference in a new issue