Simplify channel logic for coreaudio
This commit is contained in:
parent
81bcce0c48
commit
28c119888b
3 changed files with 51 additions and 114 deletions
|
|
@ -312,6 +312,7 @@ pub const Device = struct {
|
|||
id: [:0]const u8,
|
||||
name: [:0]const u8,
|
||||
mode: Mode,
|
||||
// NOTE(haze): we should elaborate on the `channels` field and seperate them into input and output channels
|
||||
channels: []Channel,
|
||||
formats: []const Format,
|
||||
sample_rate: util.Range(u24),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue