summaryrefslogtreecommitdiff
path: root/pkg/mixer
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mixer')
-rw-r--r--pkg/mixer/config.go28
-rw-r--r--pkg/mixer/mixer.go38
2 files changed, 66 insertions, 0 deletions
diff --git a/pkg/mixer/config.go b/pkg/mixer/config.go
new file mode 100644
index 0000000..bc0a292
--- /dev/null
+++ b/pkg/mixer/config.go
@@ -0,0 +1,28 @@
+//
+// dolmetschctl
+//
+//
+// Copyright (C) 2019 Christian Pointner <equinox@spreadspace.org>
+//
+// This file is part of dolmetschctl.
+//
+// dolmetschctl is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// any later version.
+//
+// dolmetschctl is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with dolmetschctl. If not, see <http://www.gnu.org/licenses/>.
+//
+
+package mixer
+
+type Config struct {
+ DevIn string `json:"dev-in" yaml:"dev-in" toml:"dev-in"`
+ DevOut string `json:"dev-out" yaml:"dev-out" toml:"dev-out"`
+}
diff --git a/pkg/mixer/mixer.go b/pkg/mixer/mixer.go
new file mode 100644
index 0000000..235978c
--- /dev/null
+++ b/pkg/mixer/mixer.go
@@ -0,0 +1,38 @@
+//
+// dolmetschctl
+//
+//
+// Copyright (C) 2019 Christian Pointner <equinox@spreadspace.org>
+//
+// This file is part of dolmetschctl.
+//
+// dolmetschctl is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// any later version.
+//
+// dolmetschctl is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with dolmetschctl. If not, see <http://www.gnu.org/licenses/>.
+//
+
+package mixer
+
+type Mixer struct {
+}
+
+func NewMixer(c Config) (*Mixer, error) {
+ return &Mixer{}, nil
+}
+
+func (m *Mixer) Init() error {
+ return nil
+}
+
+func (m *Mixer) Shutdown() error {
+ return nil
+}