Re: Polypaudio for Gnome 2.10, the next steps

On Tue, 2004-11-23 at 15:42 -0300, Germ�Po�ama�rote:

> Following this argument, the next step should be drop esound from
> GNOME, because the same criteria should be applied.

Right; but we have to nuke all of the esound usage from GNOME first.
The major user is libgnome.  It provides this API:

int gnome_sound_connection_get (void);
This one is not replacable with GStreamer.  We have to change every user
of this function in GNOME.

void gnome_sound_init(const char *hostname);
Should be replacable with GStreamer.

void gnome_sound_shutdown(void);
Same as above.

int gnome_sound_sample_load(const char *sample_name, const char *filename);
This one will delegate to the new GStreamer sample caching API.

void gnome_sound_play (const char * filename);
Very easily replacable with GStreamer.

Onto the rest of GNOME:

./gnome-session/gnome-session/gsm-sound.c:114:    esd_sample_free (gnome_sound_connection_get (), sample_id);

Needs to be switched to GStreamer sample caching API.

./gnome-control-center/gnome-settings-daemon/gnome-settings-sound.c:86: esd_standby (gnome_sound_connection_get ());

Should just nuke this from the capplet; "Sound server startup" is a
crack thing to be exposing to the user.

./gnome-control-center/gnome-settings-daemon/gnome-settings-sound.c:157:                        esd_resume (gnome_sound_connection_get ());

Needs investigation.

./gok/gok/gok-sound.c:47:    gnome_sound_init ("localhost");
./gok/gok/gok-sound.c:48:    gnome_sound_connection = gnome_sound_connection_get ();
./gok/gok/gok-sound.c:63:    fsync (gnome_sound_connection);

This will need to be rewritten to use GStreamer.

./gnome-games/gnome-stones/sound.c:90: esd_sample_play (gnome_sound_connection_get (), sound_id);
./gnome-games/gnome-stones/sound.c:111: sample_id = gnome_sound_sample_load (name, fullname);
./gnome-games/gnome-stones/sound.c:138:      esd_sample_loop (gnome_sound_connection_get (), title_music);
./gnome-games/gnome-stones/sound.c:152:     esd_sample_stop (gnome_sound_connection_get (), title_music);


Fixing all of this should be quite doable for 2.10.  So I'm all for
Jeff's initial 2.10 banner: DEATH TO ESOUND.  But instead of replacing
this with Polypaudio, we replace it with GStreamer.

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