Skip to content
Snippets Groups Projects
Forked from Xiph.Org / Opus
Source project has a limited visibility.
  • Ralph Giles's avatar
    86476906
    Use 'frame' instead of 'signal' in the silk code. · 86476906
    Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
    On MacOS, stdlib.h ends up including sys/signal.h, generating
    warnings about the local variables called 'signal' shadowing
    the global symbol signal(3). Tested with XCode 4.1 on
    MacOS X 10.7.0.
    
    The signal buffers passed in are generally frames being processed,
    and the code already uses the term frame and frame_length elsewhere,
    so I've resolved the warning by renaming signal and signal_* locals
    and parameters to frame and frame_*.
    86476906
    History
    Use 'frame' instead of 'signal' in the silk code.
    Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
    On MacOS, stdlib.h ends up including sys/signal.h, generating
    warnings about the local variables called 'signal' shadowing
    the global symbol signal(3). Tested with XCode 4.1 on
    MacOS X 10.7.0.
    
    The signal buffers passed in are generally frames being processed,
    and the code already uses the term frame and frame_length elsewhere,
    so I've resolved the warning by renaming signal and signal_* locals
    and parameters to frame and frame_*.