ARM: Inline assembly for saturated addition of sound
|Reported by:||SF/robinwatts||Owned by:||SF/knakos|
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.
Ticket imported from: #1717959. Ticket imported from: patches/765.
Change History (14)
comment:2 by , 14 years ago
|Summary:||WINCE Inline ARM assembly for saturated addition of sound → ARM: Inline assembly for saturated addition of sound|