openbsd-ports/audio/deadbeef/patches/patch-plugins_gtkui_prefwin_c
shadchin a6ab3980da Import deadbeef 0.5.5.
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, BSD,
OpenSolaris and probably other UNIX-like systems.

ok dcoppa@
2012-08-08 18:06:48 +00:00

22 lines
1.2 KiB
Plaintext

$OpenBSD: patch-plugins_gtkui_prefwin_c,v 1.1.1.1 2012/08/08 18:06:48 shadchin Exp $
--- plugins/gtkui/prefwin.c.orig Sat May 19 14:56:40 2012
+++ plugins/gtkui/prefwin.c Tue Jun 5 21:57:27 2012
@@ -501,7 +501,7 @@ on_preferences_activate (GtkMenuItem
// output plugin selection
combobox = GTK_COMBO_BOX (lookup_widget (w, "pref_output_plugin"));
- const char *outplugname = deadbeef->conf_get_str_fast ("output_plugin", "ALSA output plugin");
+ const char *outplugname = deadbeef->conf_get_str_fast ("output_plugin", "sndio output plugin");
DB_output_t **out_plugs = deadbeef->plug_get_output_list ();
for (int i = 0; out_plugs[i]; i++) {
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combobox), out_plugs[i]->plugin.name);
@@ -714,7 +714,7 @@ on_pref_output_plugin_changed (GtkComboBox
DB_output_t *new = NULL;
deadbeef->conf_lock ();
- const char *outplugname = deadbeef->conf_get_str_fast ("output_plugin", "ALSA output plugin");
+ const char *outplugname = deadbeef->conf_get_str_fast ("output_plugin", "sndio output plugin");
for (int i = 0; out_plugs[i]; i++) {
if (!strcmp (out_plugs[i]->plugin.name, outplugname)) {
prev = out_plugs[i];