Simplify channel logic for coreaudio

This commit is contained in:
Haze Booth 2023-06-02 16:17:46 -04:00 committed by Stephen Gutekanst
parent 81bcce0c48
commit 28c119888b
3 changed files with 51 additions and 114 deletions

View file

@ -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),