From 625112357a6cbe2a87fa5a6272b700c260ec7eaf Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Wed, 6 May 2020 14:30:34 +0200
Subject: [PATCH] Set default audio output.

---
 configuration/sample-development.engine.ini | 4 ++--
 configuration/sample-docker.engine.ini      | 4 ++--
 configuration/sample-production.engine.ini  | 4 ++--
 docs/installation-development.md            | 7 ++++++-
 docs/installation-production.md             | 9 +++++++--
 5 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/configuration/sample-development.engine.ini b/configuration/sample-development.engine.ini
index 4a4588d3..c211cffe 100644
--- a/configuration/sample-development.engine.ini
+++ b/configuration/sample-development.engine.ini
@@ -127,13 +127,13 @@ soundsystem="alsa"
 # with alsa you have to write the devicenames like hw:0
 # with pulse and jack => an non empty value means it is used
 # devices with empty string are ignored and not used
-input_device_0="hw:0"
+input_device_0=""
 input_device_1=""
 input_device_2=""
 input_device_3=""
 input_device_4=""
 # same same, but different
-output_device_0="hw:0"
+output_device_0="default"
 output_device_1=""
 output_device_2=""
 output_device_3=""
diff --git a/configuration/sample-docker.engine.ini b/configuration/sample-docker.engine.ini
index 4fca2e22..4eeee717 100644
--- a/configuration/sample-docker.engine.ini
+++ b/configuration/sample-docker.engine.ini
@@ -126,13 +126,13 @@ soundsystem="alsa"
 # with alsa you have to write the devicenames like hw:0
 # with pulse and jack => an non empty value means it is used
 # devices with empty string are ignored and not used
-input_device_0="hw:0"
+input_device_0=""
 input_device_1=""
 input_device_2=""
 input_device_3=""
 input_device_4=""
 # same same, but different
-output_device_0="hw:0"
+output_device_0="default"
 output_device_1=""
 output_device_2=""
 output_device_3=""
diff --git a/configuration/sample-production.engine.ini b/configuration/sample-production.engine.ini
index 4fca2e22..4eeee717 100644
--- a/configuration/sample-production.engine.ini
+++ b/configuration/sample-production.engine.ini
@@ -126,13 +126,13 @@ soundsystem="alsa"
 # with alsa you have to write the devicenames like hw:0
 # with pulse and jack => an non empty value means it is used
 # devices with empty string are ignored and not used
-input_device_0="hw:0"
+input_device_0=""
 input_device_1=""
 input_device_2=""
 input_device_3=""
 input_device_4=""
 # same same, but different
-output_device_0="hw:0"
+output_device_0="default"
 output_device_1=""
 output_device_2=""
 output_device_3=""
diff --git a/docs/installation-development.md b/docs/installation-development.md
index 97ba4909..64963b62 100644
--- a/docs/installation-development.md
+++ b/docs/installation-development.md
@@ -152,7 +152,12 @@ are stored via *Tank*:
 audiofolder="/var/audio"
 ```
 
-Read more about detailed settings in the [Configuration Guide](docs/configuration-guide.md).
+If the audio device desired for playback is set as `default`, the Engine now should be ready to play
+sound. You can check the default audio hardware by executing `aplay -L` on the command line. If that's
+not the case you can set the default device in `/etc/asound.conf`. More advanced audio device settings
+can be looked up in the [Configuration Guide](docs/configuration-guide.md).
+
+Read about all other available settings in the [Configuration Guide](docs/configuration-guide.md).
 
 ## Running Engine
 
diff --git a/docs/installation-production.md b/docs/installation-production.md
index fc1f208a..8b5bcf2b 100644
--- a/docs/installation-production.md
+++ b/docs/installation-production.md
@@ -203,9 +203,14 @@ are stored via *Tank*:
 audiofolder="/var/audio"
 ```
 
-Ther is some document on how to [Setup the Audio Store](docs/setup-audio-store.md).
+There is some document on how to [Setup the Audio Store](docs/setup-audio-store.md).
 
-Read more about detailed settings in the [Configuration Guide](docs/configuration-guide.md).
+If the audio device desired for playback is set as `default`, the Engine now should be ready to play
+sound. You can check the default audio hardware by executing `aplay -L` on the command line. If that's
+not the case you can set the default device in `/etc/asound.conf`. More advanced audio device settings
+can be looked up in the [Configuration Guide](docs/configuration-guide.md).
+
+Read about all other available settings in the [Configuration Guide](docs/configuration-guide.md).
 
 ## Running Engine
 
-- 
GitLab