From 78fe4dc30edcd9ea859dc8d870c534e7b287dcc4 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date: Wed, 22 Apr 2020 13:44:40 +0300
Subject: [PATCH] spa-type: add the AUDIO_CHANNEL table

---
 lib/wp/spa-type.c | 1 +
 lib/wp/spa-type.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/lib/wp/spa-type.c b/lib/wp/spa-type.c
index 66feea11..9a10b31d 100644
--- a/lib/wp/spa-type.c
+++ b/lib/wp/spa-type.c
@@ -93,6 +93,7 @@ static struct spa_type_table_data s_tables [WP_SPA_TYPE_TABLE_LAST] = {
   [WP_SPA_TYPE_TABLE_PARAM_PROFILE]     = {spa_type_param_profile, SPA_N_ELEMENTS (spa_type_param_port_config), NULL, NULL, NULL, },
   [WP_SPA_TYPE_TABLE_CONTROL]           = {spa_type_control, SPA_CONTROL_LAST, NULL, NULL, NULL, },
   [WP_SPA_TYPE_TABLE_CHOICE]            = {spa_type_choice, SPA_N_ELEMENTS (spa_type_choice), NULL, NULL, NULL, },
+  [WP_SPA_TYPE_TABLE_AUDIO_CHANNEL]     = {spa_type_audio_channel, SPA_N_ELEMENTS (spa_type_audio_channel), NULL, NULL, NULL, },
 };
 
 static WpSpaTypeTable
diff --git a/lib/wp/spa-type.h b/lib/wp/spa-type.h
index 8d10c23b..41ea40d1 100644
--- a/lib/wp/spa-type.h
+++ b/lib/wp/spa-type.h
@@ -25,6 +25,7 @@ G_BEGIN_DECLS
  * @WP_SPA_TYPE_TABLE_FORMAT: The object format type table
  * @WP_SPA_TYPE_TABLE_PARAM_PORT_CONFIG: The object param port config type table
  * @WP_SPA_TYPE_TABLE_PARAM_PROFILE: The sequence control type table
+ * @WP_SPA_TYPE_TABLE_AUDIO_CHANNEL: The audio channel type table
  *
  * The diferent tables (namespaces) the registry has.
  */
@@ -38,6 +39,7 @@ typedef enum {
   WP_SPA_TYPE_TABLE_FORMAT,
   WP_SPA_TYPE_TABLE_PARAM_PORT_CONFIG,
   WP_SPA_TYPE_TABLE_PARAM_PROFILE,
+  WP_SPA_TYPE_TABLE_AUDIO_CHANNEL,
   WP_SPA_TYPE_TABLE_LAST,
 } WpSpaTypeTable;
 
-- 
GitLab