summaryrefslogtreecommitdiffstats
path: root/polyp/polypaudio.pa
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polypaudio.pa')
-rwxr-xr-xpolyp/polypaudio.pa41
1 files changed, 41 insertions, 0 deletions
diff --git a/polyp/polypaudio.pa b/polyp/polypaudio.pa
new file mode 100755
index 00000000..177707ba
--- /dev/null
+++ b/polyp/polypaudio.pa
@@ -0,0 +1,41 @@
+#!./polypaudio -F
+
+#
+# This file is part of polypaudio.
+#
+# polypaudio 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 2 of the License, or
+# (at your option) any later version.
+#
+# polypaudio 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 polypaudio; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+
+# Load audio drivers
+load module-alsa-sink
+load module-alsa-source device=plughw:1,0
+#load module-oss device="/dev/dsp"
+#load module-oss-mmap device="/dev/dsp"
+
+# Load several protocols
+load module-esound-protocol-tcp
+load module-simple-protocol-tcp
+load module-native-protocol-unix
+load module-cli-protocol-unix
+
+# Load the CLI module
+load module-cli
+
+.nofail
+
+# Make some devices default
+sink_default alsa_output
+source_default alsa_input
+