changeset 106:d2b88d78ccd7 trunk

[svn] Tell the player that the decoder has fired up :)
author nenolod
date Wed, 02 Nov 2005 21:26:00 -0800
parents 18fe59468510
children 38b6e3d0afb0
files Plugins/Input/console/Audacious_Driver.cpp
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp	Wed Nov 02 19:33:25 2005 -0800
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Wed Nov 02 21:26:00 2005 -0800
@@ -95,6 +95,7 @@
 
 static void play_file(char *filename)
 {
+	gchar *name;
 	Emu_Std_Reader reader;
 	Spc_Emu::header_t header;
 
@@ -108,6 +109,12 @@
 
 	console_ip_is_going = TRUE;
 
+	name = get_title(filename);
+
+	console_ip.set_info(name, -1, 0, 32000, 2);
+
+	g_free(name);
+
 	decode_thread = g_thread_create(play_loop, spc, TRUE, NULL);
 
         if (!console_ip.output->open_audio(MY_FMT, 32000, 2))