mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 22:45:28 +00:00
document device pairs
This commit is contained in:
parent
e6112b40ed
commit
6a439dffb9
|
@ -249,8 +249,6 @@ view `coverage/index.html` in a browser.
|
|||
0. Verify that JACK xrun callback context is the same as process callback.
|
||||
If not, might need to hav xrun callback set a flag and have process callback
|
||||
call the underflow callback.
|
||||
0. API: devices should reference to their "other" device when the same
|
||||
hardware has input and output. This is important due to clock timing.
|
||||
0. Detect PulseAudio server going offline and emit `on_backend_disconnect`.
|
||||
0. Instead fo open(), start(), pause(), open() starts it and it starts paused.
|
||||
0. Create a test for underflow handling. It just makes a sine wave for 5
|
||||
|
|
|
@ -246,6 +246,10 @@ struct SoundIoDevice {
|
|||
|
||||
// `id` is a string of bytes that uniquely identifies this device.
|
||||
// `name` is user-friendly UTF-8 encoded text to describe the device.
|
||||
// If the same physical device supports both input and output, that makes
|
||||
// one SoundIoDevice for the input and one SoundIoDevice for the output.
|
||||
// In this case, the `id` of each SoundIoDevice will be the same, and the
|
||||
// `aim` field will be different.
|
||||
char *id;
|
||||
char *name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue