Sunday, 19 April 2015

[gccsdk] [Bug 259] New: DigitalRenderer module is reset on program exit

http://www.riscos.info/bugzilla3/show_bug.cgi?id=259

Summary: DigitalRenderer module is reset on program exit
Product: GCC/GCCSDK
Version: other
Platform: Other
OS/Version: RISC OS
Status: NEW
Severity: normal
Priority: P1
Component: Unixlib and SharedCLibrary
AssignedTo: peter@chocky.org
ReportedBy: chrisg@care4free.net
Estimated Hours: 0.0


Any program built with UnixLib resets DigitalRender on exit regardless of
whether that program uses DigitalRenderer. If another program is running that
is using sound the sound stops. The program has to be restarted to continue
with sound.


Examples of non sound using programs are !NetSurf, !PDF and !Wget.

See gcc4/recipe/files/gcc/libunixlib for the location of the reset,

in the _exit() function is the following,

/* De-register with DigitalRenderer in case of an exception */
__dsp_exit();

I'm not sure if it's possible to identify if a program is using
DigitalRenderer.

A possible workaround would be to add a build time flag so the reset is skipped
for that program.

--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment