Displaying 8 results from an estimated 8 matches for "speex_stereo_state_init".
2006 Jun 12
1
[PATCH] warning: missing initializer for SPEEX_STEREO_STATE_INIT
hi
this code gives me a warning:
SpeexStereoState stereo = SPEEX_STEREO_STATE_INIT;
modules/speex/mod.c: In function 'alloc':
modules/speex/mod.c:61: warning: missing initializer
modules/speex/mod.c:61: warning: (near initialization for
'stereo_init.reserved1')
would it be possible to add this patch to you svn ?
Index: include/speex/speex_stereo.h
========...
2017 Nov 03
1
[PATCH] Add a (void) parameter list to a function declaration
...stereo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/speex/speex_stereo.h b/include/speex/speex_stereo.h
index 5844f5a1..12af2bbf 100644
--- a/include/speex/speex_stereo.h
+++ b/include/speex/speex_stereo.h
@@ -61,7 +61,7 @@ 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 (Appl...
2007 Apr 02
1
Problems with stereo data
...(argv[1], "rb");
FILE* fout = fopen(argv[2], "wb");
void* State = speex_decoder_init(&speex_wb_mode);
SpeexBits Bits;
speex_bits_init(&Bits);
const int FrameSize = 320;
short Output[FrameSize];
short BytesToRead;
char Buffer[1024];
SpeexStereoState StereoState = SPEEX_STEREO_STATE_INIT;
while (!feof(fin)) {
fread(&BytesToRead, sizeof(short), 1, fin);
fread(Buffer, 1, BytesToRead, fin);
speex_bits_read_from(&Bits, Buffer, BytesToRead);
speex_decode_int(State, &Bits, Output);
speex_decode_stereo_int(Output, FrameSize, &StereoState);
fwrite(Output, sizeof(shor...
2008 Mar 29
0
GCC/ELF Visibility patch
...mpler_strerror(int err)
{
switch (err)
{
Index: libspeex/stereo.c
===================================================================
--- libspeex/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(SpeexStereoSta...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...mpler_strerror(int err)
{
switch (err)
{
Index: libspeex/stereo.c
===================================================================
--- libspeex/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(SpeexStereoSta...
2014 May 16
3
Error when compiling FFmpeg with speex-git.
...e/speex/speex_config_types.h:15:1: error: unknown type name ?uint32_t?
typedef uint32_t spx_uint32_t;
^
In file included from libavcodec/libspeexdec.c:23:0:
/home/user/build/include/speex/speex_stereo.h:64:1: warning: function declaration isn?t a prototype [-Wstrict-prototypes]
SpeexStereoState *speex_stereo_state_init();
^
libavcodec/libspeexdec.c: In function ?libspeex_decode_frame?:
libavcodec/libspeexdec.c:153:5: warning: passing argument 3 of ?speex_decode_int? from incompatible pointer type [enabled by default]
ret = speex_decode_int(s->dec_state, &s->bits, output);
^
In file included f...
2008 Apr 04
0
speexdec 1.2.3
...0, 0, 0, 0}
};
ogg_sync_state oy;
ogg_page og;
ogg_packet op;
ogg_stream_state os;
int enh_enabled;
int nframes=2;
int print_bitrate=0;
int close_in=0;
int eos=0;
int forceMode=-1;
int audio_size=0;
float loss_percent=-1;
SpeexStereoState stereo = SPEEX_STEREO_STATE_INIT;
int channels=-1;
int rate=0;
int extra_headers=0;
int wav_format=0;
int lookahead;
int speex_serialno = -1;
char fmt_out[127+1];
(void) memset( fmt_out, 0, sizeof( fmt_out ) );
enh_enabled = 1;
/*Process options*/
while(1)
{
c = getopt_long (argc, argv,...
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin
<jean-marc.valin at usherbrooke.ca> wrote:
> Jahn, Ray (R.) a ?crit :
>
> > Dear Speex codec community:
> >
> > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any