Displaying 3 results from an estimated 3 matches for "speex_stereo_state_reset".
2017 Nov 03
1
[PATCH] Add a (void) parameter list to a function declaration
...@ typedef struct SpeexStereoState {
#define SPEEX_STEREO_STATE_INIT {1,.5,1,1,0,0}
/** Initialise/create a stereo stereo state */
-SpeexStereoState *speex_stereo_state_init();
+SpeexStereoState *speex_stereo_state_init(void);
/** Reset/re-initialise an already allocated stereo state */
void speex_stereo_state_reset(SpeexStereoState *stereo);
--
2.13.6 (Apple Git-96)
2008 Mar 29
0
GCC/ELF Visibility patch
.../stereo.c (revision 14645)
+++ libspeex/stereo.c (working copy)
@@ -72,14 +72,14 @@
#define COMPATIBILITY_HACK(s)
#endif
-SpeexStereoState *speex_stereo_state_init()
+EXPORT SpeexStereoState *speex_stereo_state_init()
{
SpeexStereoState *stereo = speex_alloc(sizeof(SpeexStereoState));
speex_stereo_state_reset(stereo);
return stereo;
}
-void speex_stereo_state_reset(SpeexStereoState *_stereo)
+EXPORT void speex_stereo_state_reset(SpeexStereoState *_stereo)
{
RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo;
#ifdef FIXED_POINT
@@ -99,13 +99,13 @@
#endif
}
-void speex_stere...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
.../stereo.c (revision 14645)
+++ libspeex/stereo.c (working copy)
@@ -72,14 +72,14 @@
#define COMPATIBILITY_HACK(s)
#endif
-SpeexStereoState *speex_stereo_state_init()
+EXPORT SpeexStereoState *speex_stereo_state_init()
{
SpeexStereoState *stereo = speex_alloc(sizeof(SpeexStereoState));
speex_stereo_state_reset(stereo);
return stereo;
}
-void speex_stereo_state_reset(SpeexStereoState *_stereo)
+EXPORT void speex_stereo_state_reset(SpeexStereoState *_stereo)
{
RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo;
#ifdef FIXED_POINT
@@ -99,13 +99,13 @@
#endif
}
-void speex_stere...