alsa-replace-pulse.patch 1.1 KB

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