blob: 4a04e6dd6697285365f4d3a1d1c15d89a59d5096 [file] [log] [blame]
// 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")
@banjo_layout("ddk-protocol")
protocol Codec {
/// This method connects a channel in order to serve FIDL over it outside the driver host
/// control.
Connect(resource struct {
channel zx.handle:CHANNEL;
}) -> (struct {
status zx.status;
});
};
@transport("Banjo")
protocol Dai {
/// This method connects a channel in order to serve FIDL over it outside the driver host
/// control.
Connect(resource struct {
channel zx.handle:CHANNEL;
}) -> (struct {
status zx.status;
});
};