| // Copyright 2021 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| library fuchsia.hardware.audio; |
| |
| /// For an overview of the Codec protocols see |
| /// [Codec Interface](//docs/concepts/drivers/driver_architectures/audio_drivers/audio_codec.md) |
| /// # Deprecation |
| /// |
| /// Not supported anymore, instead use an |
| /// [Audio Composite](https://fuchsia.dev/fuchsia-src/development/audio/drivers/composite) |
| /// with one DAI and no Ring Buffer, see |
| /// [Audio Drivers Architecture](https://fuchsia.dev/fuchsia-src/development/audio/drivers/architecture) |
| @available(deprecated=20) |
| closed protocol CodecConnector { |
| /// Connect to a Codec protocol server. |
| /// This indirection into the Codec protocol allows us to support independent codec client |
| /// connections. |
| strict Connect(resource struct { |
| codec_protocol server_end:Codec; |
| }); |
| }; |
| |
| /// # Deprecation |
| /// |
| /// Not supported anymore, instead use an |
| /// [Audio Composite](https://fuchsia.dev/fuchsia-src/development/audio/drivers/composite) |
| /// with one DAI and no Ring Buffer, see |
| /// [Audio Drivers Architecture](https://fuchsia.dev/fuchsia-src/development/audio/drivers/architecture) |
| @available(deprecated=20) |
| service CodecConnectorService { |
| codec_connector client_end:CodecConnector; |
| }; |