summaryrefslogtreecommitdiff
path: root/pcr-testing/gsequencer/alsa-replace-pulse.patch
blob: bcdedaa9a55d7e5481f246a8f12b89c15caf0dc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ags/object/ags_config.c.orig	2018-04-30 00:19:45.690634116 +0000
+++ ags/object/ags_config.c	2018-04-30 00:20:22.247300782 +0000
@@ -432,13 +432,13 @@
   ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "backend", "core-audio");
   ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "device", "ags-core-audio-devout-0");
 #else
-  ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "backend", "pulse");
-  ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "device", "ags-pulse-devout-0");
+  ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "backend", "alsa");
+  ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "device", "hw:0");
 #endif
   
   ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "pcm-channels", "2");
   ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "samplerate", "44100");
-  ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "buffer-size", "2048");
+  ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "buffer-size", "512");
   ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "format", "16");
 
   //ags_config_set_value(config, AGS_CONFIG_SEQUENCER_0, "backend", "jack");