[gcompris-devel] Added music background

Bruno Coudoin bruno.coudoin at free.fr
Sun Jun 8 18:03:01 UTC 2003


2003-06-09  Bruno Coudoin  <bruno.coudoin at free.fr>

	* TODO: Added Dynamic screen/skin resolution change
	* src/gcompris/oggplayer.c: (decode_ogg_file), (erase_credits),
	(display_ogg_file_credits): added way to display credit info from ogg
	* src/gcompris/soundutil.c: (initSound), (scheduler_bgnd),
	(thread_play_ogg): added background music support


Just added music background support in the CVS.
The way it works for now, you have to create the directory
gcompris/boards/music/background
and put in it some ogg vorbis files.
When run gcompris will start to play the fist file there after 20
secondes to let the intro goes on.
At each song start, the information contained in the ogg file (title,
author, ...) are displayed in the main window for 20 secondes. It may be
annoying for little kids but I though it's the best place to give credit
to the songs.

Any comment welcome.

Bruno.








More information about the Gcompris-devel mailing list