Re: [Nautilus-list] Nautilus with ogg

This the a patch for ogg123 -d esd

Dan Mueth wrote:

On Fri, 13 Jul 2001, Remi Cohen-Scali wrote:

To enable ogg123 to use esd (of course if it has been compiled with esd
support activated, but this is the default), you need to tell ogg123
what driver it has to use to play. Just set a line like:
in a .ogg123rc file in your home or in /etc/ogg123rc to set a system
wide default.

Thanks for the info.  This is great to know.

This isn't really the solution we want to use if we are hoping to make
things easy for people (esp. less technical users) though.  Ideally it
will just work for people, or possibly work once people configure it
through a dialog.

Can we expect that all GNOME users use esd?  If so, we could just use "-d
esd" in the call in Nautilus.  If we think some people may decide to turn
off esd, we could have a preferences dialog which either allows people to
select to not use esd or else which gives users a short list of device
options to choose from for passing to ogg123.  Using esd should be the
default behavior if it is not reconfigured since this is the GNOME sound
server. Ideally in the future all of this will be done by communicating
with the control-center, but for now I guess it makes sense to put it in
Nautilus' preferences.  Or is there a simple way to poll the
control-center to find out if esd is being used?


		   Remi Cohen-Scali
<Remi Cohen-Scali com> 		<rcoscali rcsnet net>

--- nautilus-	Fri Jul 13 18:48:40 2001
+++ nautilus-	Fri Jul 13 18:49:02 2001
@@ -1568,7 +1568,7 @@
 			if (is_mp3) {
 				execlp ("mpg123", "mpg123", "-y", "-q", file_path, NULL);
 			} else if (is_ogg) {
-				execlp ("ogg123", "ogg123", "-q", file_path, NULL);
+				execlp ("ogg123", "ogg123", "-d", "esd", "-q", file_path, NULL);
 			} else {
 				execlp ("play", "play", file_path, NULL);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]