/* WirePlumber * * Copyright © 2019 Collabora Ltd. * @author Julian Bouzas * * SPDX-License-Identifier: MIT */ #ifndef __WIREPLUMBER_AUDIO_ADAPTER_H__ #define __WIREPLUMBER_AUDIO_ADAPTER_H__ #include #include #include "stream.h" G_BEGIN_DECLS struct spa_audio_info_raw format; #define WP_TYPE_AUDIO_ADAPTER (wp_audio_adapter_get_type ()) G_DECLARE_FINAL_TYPE (WpAudioAdapter, wp_audio_adapter, WP, AUDIO_ADAPTER, WpAudioStream) void wp_audio_adapter_new (WpBaseEndpoint *endpoint, guint stream_id, const char *stream_name, enum pw_direction direction, WpNode *node, gboolean convert, GAsyncReadyCallback callback, gpointer user_data); struct spa_audio_info_raw *wp_audio_adapter_get_format (WpAudioAdapter *self); G_END_DECLS #endif