sysaudio: move DeviceChaneFn to Context and rename ConnectError to InitError

This commit is contained in:
Ali Chraghi 2023-01-20 14:03:30 +03:30 committed by Stephen Gutekanst
parent 192cacb85d
commit ee84f6ab70
5 changed files with 16 additions and 14 deletions

View file

@ -11,7 +11,7 @@ pub const Context = struct {
watcher: ?Watcher,
const Watcher = struct {
deviceChangeFn: main.DeviceChangeFn,
deviceChangeFn: main.Context.DeviceChangeFn,
user_data: ?*anyopaque,
};