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
|
|
@ -11,7 +11,7 @@ pub const Context = struct {
|
|||
watcher: ?Watcher,
|
||||
|
||||
const Watcher = struct {
|
||||
deviceChangeFn: main.DeviceChangeFn,
|
||||
deviceChangeFn: main.Context.DeviceChangeFn,
|
||||
user_data: ?*anyopaque,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue