summaryrefslogtreecommitdiffstats
path: root/src/ahl-deviceenum.c
diff options
context:
space:
mode:
authorTai Vuong <tvuong@audiokinetic.com>2017-08-24 16:33:40 -0400
committerTai Vuong <tvuong@audiokinetic.com>2017-08-24 16:33:40 -0400
commit94b4cfd3fa2a24736808ed854903f4c3038c9e11 (patch)
tree6e543167873f513925624ee2f2d641410def3a3d /src/ahl-deviceenum.c
Initial commit
Diffstat (limited to 'src/ahl-deviceenum.c')
-rw-r--r--src/ahl-deviceenum.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ahl-deviceenum.c b/src/ahl-deviceenum.c
new file mode 100644
index 0000000..6629de2
--- /dev/null
+++ b/src/ahl-deviceenum.c
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2017 "Audiokinetic Inc"
+ * Author Francois Thibault <fthibault@audiokinetic.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#define _GNU_SOURCE
+#include <stdio.h>
+#include <string.h>
+#include <time.h>
+
+#include "ahl-binding.h"
+
+PUBLIC int EnumerateSources() {
+
+ // TODO: Use lower level services to build a list of available source devices
+
+ AFB_DEBUG ("Audio high-level - Enumerate sources done");
+ return 0;
+}
+
+PUBLIC int EnumerateSinks() {
+
+ // TODO: Use lower level services to build a list of available sink devices
+
+ AFB_DEBUG ("Audio high-level - Enumerate sinks done");
+ return 0;
+}
+