1 /* Copyright (c) 2013 The Chromium OS 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 */ 5 6 #ifndef CRAS_A2DP_IODEV_H_ 7 #define CRAS_A2DP_IODEV_H_ 8 9 #include "cras_bt_transport.h" 10 11 struct cras_iodev; 12 13 /* 14 * Creates an a2dp iodev from transport object. 15 * Args: 16 * transport - The transport to create a2dp iodev for 17 */ 18 struct cras_iodev *a2dp_iodev_create( 19 struct cras_bt_transport *transport); 20 21 /* 22 * Destroys a2dp iodev. 23 */ 24 void a2dp_iodev_destroy(struct cras_iodev *iodev); 25 26 #endif /* CRS_A2DP_IODEV_H_ */ 27