Use 'frame' instead of 'signal' in the silk code.
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_*.
Showing
- silk/.dirstamp 0 additions, 0 deletionssilk/.dirstamp
- silk/float/.dirstamp 0 additions, 0 deletionssilk/float/.dirstamp
- silk/float/silk_pitch_analysis_core_FLP.c 35 additions, 35 deletionssilk/float/silk_pitch_analysis_core_FLP.c
- silk/silk_CNG.c 2 additions, 2 deletionssilk/silk_CNG.c
- silk/silk_LP_variable_cutoff.c 2 additions, 2 deletionssilk/silk_LP_variable_cutoff.c
- silk/silk_PLC.c 10 additions, 10 deletionssilk/silk_PLC.c
- silk/silk_pitch_analysis_core.c 43 additions, 43 deletionssilk/silk_pitch_analysis_core.c
Loading
Please register or sign in to comment