• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
5 cfg_if::cfg_if! {
6     if #[cfg(unix)] {
7         mod unix;
8         use unix as platform;
9     } else if #[cfg(windows)] {
10         mod windows;
11         use windows as platform;
12     }
13 }
14 
15 pub(in crate::pci::ac97) use platform::ac97_backend_from_str;
16 pub(in crate::pci::ac97) use platform::create_null_server;
17 #[cfg(test)]
18 pub(in crate::pci::ac97) use platform::tests;
19 pub use platform::Ac97Backend;
20 pub(crate) use platform::AudioStreamSource;
21