| // Copyright 2019 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; |
| using zx; |
| |
| [Transport = "Banjo", BanjoLayout = "ddk-protocol"] |
| protocol Codec { |
| /// This method connects a channel in order to serve FIDL over it outside the driver host |
| /// control. |
| Connect(zx.handle:CHANNEL channel) -> (zx.status status); |
| }; |
| |
| [Transport = "Banjo"] |
| protocol Dai { |
| /// This method connects a channel in order to serve FIDL over it outside the driver host |
| /// control. |
| Connect(zx.handle:CHANNEL channel) -> (zx.status status); |
| }; |