RESOLVED INVALID 102078
[GTK] Use GResources in AudioBusGtk
https://bugs.webkit.org/show_bug.cgi?id=102078
Summary [GTK] Use GResources in AudioBusGtk
Philippe Normand
Reported 2012-11-13 06:10:54 PST
It'd be nice to simplify AudioBusGtk to use GResources, getting rid of the env var for uninstalled use-case too.
Attachments
Alberto Garcia
Comment 1 2013-03-22 05:17:35 PDT
Looking into this.
Alberto Garcia
Comment 2 2013-03-22 08:02:59 PDT
If I understand correctly the only use csae is to make audio resources easy to load when we run things from the compilation directory, is that right? If that's the case maybe we can come up with a different solution that doesn't involve increasing the size of the library that much (Composite.wav is 240K)
Philippe Normand
Comment 3 2013-03-24 09:32:42 PDT
(In reply to comment #2) > If I understand correctly the only use csae is to make audio resources > easy to load when we run things from the compilation directory, is > that right? > As discussed on Jabber, yes. > If that's the case maybe we can come up with a different solution that > doesn't involve increasing the size of the library that much > (Composite.wav is 240K) Let's close this then
Alberto Garcia
Comment 4 2013-04-01 22:34:45 PDT
> (In reply to comment #2) > > If I understand correctly the only use csae is to make audio resources > > easy to load when we run things from the compilation directory, is > > that right? > > As discussed on Jabber, yes. Then one possibility could be to assume that things are being run from inside the WebKit directory and if the files are not available in the system path we can try to find them in Source/WebCore/platform/audio/resources ../Source/WebCore/platform/audio/resources ../../Source/WebCore/platform/audio/resources etc. That should be easy to do, but I'm not sure if you like the idea.
Note You need to log in before you can comment on or make changes to this bug.