changeset 249:a4566101cab4 trunk

[svn] Add two missing casts and update the player buffer description from XMMS to Audacious.
author chainsaw
date Sat, 03 Dec 2005 09:14:33 -0800
parents e557fce67f47
children b9e6cdce7219
files Plugins/Output/alsa/audio.c Plugins/Output/alsa/configure.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Output/alsa/audio.c	Sat Dec 03 08:46:07 2005 -0800
+++ b/Plugins/Output/alsa/audio.c	Sat Dec 03 09:14:33 2005 -0800
@@ -1173,7 +1173,7 @@
 	      hw_period_size);
 	debug("bits per sample: %i; frame size: %i; Bps: %i",
 	      snd_pcm_format_physical_width(outputf->format),
-	      snd_pcm_frames_to_bytes(alsa_pcm, 1), outputf->bps);
+	      (int)snd_pcm_frames_to_bytes(alsa_pcm, 1), outputf->bps);
 
 	return 0;
 }
--- a/Plugins/Output/alsa/configure.c	Sat Dec 03 08:46:07 2005 -0800
+++ b/Plugins/Output/alsa/configure.c	Sat Dec 03 09:14:33 2005 -0800
@@ -325,7 +325,7 @@
 
 	mixer_card_om = gtk_option_menu_new();
 	mset = get_cards(GTK_OPTION_MENU(mixer_card_om),
-			 mixer_card_cb, alsa_cfg.mixer_card);
+			 (GtkSignalFunc)mixer_card_cb, alsa_cfg.mixer_card);
 
 	gtk_table_attach(GTK_TABLE(mixer_table), mixer_card_om,
 			 1, 2, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0);
@@ -398,7 +398,7 @@
 			 1, 2, 1, 2, 0, 0, 0, 0);
 
 
-	buffer_frame = gtk_frame_new(_("XMMS:"));
+	buffer_frame = gtk_frame_new(_("Audacious:"));
 	gtk_box_pack_start_defaults(GTK_BOX(advanced_vbox), buffer_frame);
 
 	buffer_vbox = gtk_vbox_new(FALSE, 0);