xref: /aosp_15_r20/external/crosvm/devices/src/virtio/snd/mod.rs (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
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 
5 pub mod common;
6 pub mod constants;
7 pub mod layout;
8 pub mod parameters;
9 pub mod sys;
10 
11 pub mod common_backend;
12 pub mod file_backend;
13 pub mod null_backend;
14 
15 cfg_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 }
23