devices/virtio/snd/sys/
mod.rs

1// Copyright 2022 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5cfg_if::cfg_if! {
6    if #[cfg(any(target_os = "android", target_os = "linux"))] {
7        mod linux;
8        use linux as platform;
9    } else if #[cfg(windows)] {
10        pub(crate) mod windows;
11        use windows as platform;
12    }
13}
14
15pub(crate) use platform::create_stream_source_generators;
16pub(crate) use platform::set_audio_thread_priority;
17pub use platform::StreamSourceBackend;
18pub(crate) use platform::SysAsyncStreamObjects;
19pub(crate) use platform::SysAudioStreamSource;
20pub(crate) use platform::SysAudioStreamSourceGenerator;
21pub(crate) use platform::SysDirectionOutput;