sysaudio: move DeviceChaneFn to Context and rename ConnectError to InitError
This commit is contained in:
parent
192cacb85d
commit
ee84f6ab70
5 changed files with 16 additions and 14 deletions
|
|
@ -38,7 +38,7 @@ pub const Context = struct {
|
|||
// watcher: ?Watcher,
|
||||
|
||||
const Watcher = struct {
|
||||
deviceChangeFn: main.DeviceChangeFn,
|
||||
deviceChangeFn: main.Context.DeviceChangeFn,
|
||||
user_data: ?*anyopaque,
|
||||
thread: *c.pw_thread_loop,
|
||||
aborted: std.atomic.Atomic(bool),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue