mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-23 04:45:40 +00:00
parent
0598f91c5a
commit
8406dcd0ad
|
@ -268,6 +268,9 @@ int main(int argc, char **argv) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Note: in this example, if you send SIGINT (by pressing Ctrl+C for example)
|
||||||
|
// you will lose up to 1 second of recorded audio data. In non-example code,
|
||||||
|
// consider a better shutdown strategy.
|
||||||
for (;;) {
|
for (;;) {
|
||||||
soundio_flush_events(soundio);
|
soundio_flush_events(soundio);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
|
Loading…
Reference in a new issue