Path: blob/main/audio_streams_conformance_test/src/sys/windows.rs
5394 views
// Copyright 2023 The ChromiumOS Authors1// Use of this source code is governed by a BSD-style license that can be2// found in the LICENSE file.34use std::fmt;56use audio_streams::StreamSourceGenerator;7use serde::Serialize;89use crate::args::*;10use crate::error::Error;1112#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize)]13pub enum StreamSource {}1415#[derive(Copy, Clone, Debug, Serialize)]16pub enum StreamSourceParam {}1718impl TryFrom<&str> for StreamSource {19type Error = Error;2021fn try_from(_s: &str) -> Result<Self, Self::Error> {22todo!();23}24}2526impl fmt::Display for StreamSource {27fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {28write!(f, "StreamSource")29}30}3132pub(crate) fn create_stream_source_generator(33_stream_source: StreamSource,34_args: &Args,35) -> Box<dyn StreamSourceGenerator> {36todo!();37}383940