1// Copyright 2018 The Fuchsia Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5library ddk.protocol.intelhda.codec; 6 7using zx; 8 9[Layout = "ddk-protocol"] 10interface IhdaCodec { 11 /// Fetch a zx_handle_t to a channel which can be used to communicate with the codec device. 12 GetDriverChannel() -> (zx.status s, handle<channel> channel); 13}; 14