[ scummvm-Patches-1717959 ] WINCE Inline ARM assembly for saturated addition of sound

SourceForge.net noreply at sourceforge.net
Sun May 13 02:47:16 CEST 2007


Patches item #1717959, was opened at 2007-05-13 00:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1717959&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robin Watts (robinwatts)
Assigned to: Nobody/Anonymous (nobody)
Summary: WINCE Inline ARM assembly for saturated addition of sound

Initial Comment:
The "clampedAdd" function is used to do saturated addition of sound sample values. There is a trick that can be used on ARM chips to do this operation that cannot easily be expressed in C.

This patch uses gcc's inline assembler to implement the trick.

Robin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1717959&group_id=37116




More information about the Scummvm-tracker mailing list