devices/virtio/snd/mod.rs
1// Copyright 2020 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
5pub mod common;
6pub mod constants;
7pub mod layout;
8pub mod parameters;
9pub mod sys;
10
11pub mod common_backend;
12pub mod file_backend;
13pub mod null_backend;
14
15cfg_if::cfg_if! {
16 if #[cfg(any(target_os = "android", target_os = "linux"))] {
17 pub mod vios_backend;
18
19 pub use vios_backend::new_sound;
20 pub use vios_backend::SoundError;
21 }
22}