search for: speex_decode_stereo_int

Displaying 9 results from an estimated 9 matches for "speex_decode_stereo_int".

2014 May 16
3
Error when compiling FFmpeg with speex-git.
...included from libavcodec/libspeexdec.c:21:0: /home/user/build/include/speex/speex.h:372:5: note: expected ?spx_int16_t *? but argument is of type ?int16_t *? int speex_decode_int(void *state, SpeexBits *bits, spx_int16_t *out); ^ libavcodec/libspeexdec.c:159:9: warning: passing argument 1 of ?speex_decode_stereo_int? from incompatible pointer type [enabled by default] speex_decode_stereo_int(output, s->frame_size, &s->stereo); ^ In file included from libavcodec/libspeexdec.c:23:0: /home/user/build/include/speex/speex_stereo.h:82:6: note: expected ?spx_int16_t *? but argument is of t...
2007 Apr 02
1
Problems with stereo data
...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(short), FrameSize, fout); } fclose(fout); fclose(fin); speex_decoder_destroy(State); speex_bits_destroy(&Bits); }
2007 Apr 25
0
echo cancellation on Blackfin DSK
...t16_t *)in, SPEEX_FRAME_SIZE, &g_Bits); speex_encode_int(g_pvEnc, (spx_int16_t *)in, &g_Bits); g_nBits = speex_bits_write(&g_Bits, g_cBits, 200); speex_bits_rewind(&g_Bits); // Decode the frame speex_decode_int(g_pvDec, &g_Bits, (spx_int16_t *)out); speex_decode_stereo_int((spx_int16_t *)out, SPEEX_FRAME_SIZE, &g_StereoState); #ifdef ALWAYS_PASS_THROUGH memcpy(out, in, SPEEX_FRAME_SIZE*NUM_CHANNELS*sizeof(SND_FIXED_16_TYPE)); #endif //ALWAYS_PASS_THROUGH #endif //ACTIVATE_STEREO } if (1 == ezIsButtonPushed(BUTTON_QUIT)) { g_EOS = 1; } //Quit Btn p...
2007 Nov 14
0
Audio glitches/Configuration problem !!?
...cRet = speex_decode_int(m_SpeexState, &m_SpeexBits, output); if (locRet == -1 || locRet == -2) return false; if ((remains = (speex_bits_remaining(&m_SpeexBits))/8) < 0) //Corrupted return false; if (m_Channels == 2) speex_decode_stereo_int((short *)output, m_FrameSizeInSamples, &m_StereoState); size += m_FrameSizeInBytes; output += m_FrameSizeInBytes; input = inBuffer + inSize - remains; } *outSize = size; return true; } -------------- next part -------------- An HTML attachment was scrubbed....
2005 Sep 03
2
Library export file for Win32 (patch)
...+speex_std_enh_request_handler @37 +speex_std_high_mode_request_handler @38 +speex_std_low_mode_request_handler @39 +speex_std_mode_request_handler @40 +speex_std_stereo_request_handler @41 +speex_std_vbr_quality_request_handler @42 +speex_std_vbr_request_handler @43 +speex_decode_int @44 +speex_decode_stereo_int @45 +speex_echo_cancel @46 +speex_echo_state_destroy @47 +speex_echo_state_init @48 +speex_echo_state_reset @49 +speex_encode_int @50 +speex_encode_stereo_int @51 +speex_jitter_destroy @52 +speex_jitter_get @53 +speex_jitter_get_pointer_timestamp @54 +speex_jitter_init @55 +speex_jitter_...
2008 Mar 29
0
GCC/ELF Visibility patch
...DISABLE_FLOAT_API -void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *_stereo) +EXPORT void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *_stereo) { int i; spx_word32_t balance; @@ -245,7 +245,7 @@ } #endif /* #ifndef DISABLE_FLOAT_API */ -void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *_stereo) +EXPORT void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *_stereo) { int i; spx_word32_t balance; @@ -271,7 +271,7 @@ } } -int speex_std_stereo_request_handler(SpeexBits *bits, void *state,...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...DISABLE_FLOAT_API -void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *_stereo) +EXPORT void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *_stereo) { int i; spx_word32_t balance; @@ -245,7 +245,7 @@ } #endif /* #ifndef DISABLE_FLOAT_API */ -void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *_stereo) +EXPORT void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *_stereo) { int i; spx_word32_t balance; @@ -271,7 +271,7 @@ } } -int speex_std_stereo_request_handler(SpeexBits *bits, void *state,...
2008 Apr 04
0
speexdec 1.2.3
...eak; } if (speex_bits_remaining(&bits)<0) { fprintf (stderr, "Decoding overflow: corrupted stream?\n"); break; } if (channels==2) speex_decode_stereo_int(output, frame_size, &stereo); if (print_bitrate) { spx_int32_t tmp; char ch=13; speex_decoder_ctl(st, SPEEX_GET_BITRATE, &tmp); fputc (ch, stderr); fprintf (stderr, &q...
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