summaryrefslogtreecommitdiff
path: root/audio/src/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'audio/src/channel.rs')
-rw-r--r--audio/src/channel.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/src/channel.rs b/audio/src/channel.rs
index 48d416b..b74792e 100644
--- a/audio/src/channel.rs
+++ b/audio/src/channel.rs
@@ -149,6 +149,11 @@ impl Channels {
}
}
}
+impl Default for Channels {
+ fn default() -> Self {
+ Self::new()
+ }
+}
pub struct Device<'s> {
pub channels: Arc<Atomic<Channels>>,