* aoss: problems with using functions in dlfcn.h
@ 2004-06-10 23:56 James Courtier-Dutton
2004-06-11 7:43 ` Jaroslav Kysela
0 siblings, 1 reply; 2+ messages in thread
From: James Courtier-Dutton @ 2004-06-10 23:56 UTC (permalink / raw)
To: ALSA development
I have an application (xine) that opens oss output from a plugin.
This plugin is loaded into xine using dlopen(), dlsym() and friends.
When, during runtime, dlsym() resolves the open() function, it bypasses
aoss, and links directly to open() instead of linking to the aoss's
version of open().
Is there any way to fix this problem with dlopen and friends.
Although we don't actually need aoss to work with xine, because xine has
good native alsa support, it just highlights a possible problem that
other apps might have.
James
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: aoss: problems with using functions in dlfcn.h
2004-06-10 23:56 aoss: problems with using functions in dlfcn.h James Courtier-Dutton
@ 2004-06-11 7:43 ` Jaroslav Kysela
0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2004-06-11 7:43 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: ALSA development
On Fri, 11 Jun 2004, James Courtier-Dutton wrote:
> I have an application (xine) that opens oss output from a plugin.
> This plugin is loaded into xine using dlopen(), dlsym() and friends.
> When, during runtime, dlsym() resolves the open() function, it bypasses
> aoss, and links directly to open() instead of linking to the aoss's
> version of open().
>
> Is there any way to fix this problem with dlopen and friends.
>
> Although we don't actually need aoss to work with xine, because xine has
> good native alsa support, it just highlights a possible problem that
> other apps might have.
I don't know a working solution, because LD_PRELOAD works only for
the main code not dlopen one.
Perhaps, it's time to persuade all developers using OSS API to use my OSS
redirector from the alsa-oss package. See alsa-oss/oss-redir/README .
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-11 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 23:56 aoss: problems with using functions in dlfcn.h James Courtier-Dutton
2004-06-11 7:43 ` Jaroslav Kysela
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.