Displaying 6 results from an estimated 6 matches for "speexheader".
Did you mean:
speex_header
2008 Mar 29
0
GCC/ELF Visibility patch
...PreprocessState *state, int request, void *ptr)
{
int i;
SpeexPreprocessState *st;
Index: libspeex/speex_header.c
===================================================================
--- libspeex/speex_header.c (revision 14645)
+++ libspeex/speex_header.c (working copy)
@@ -83,7 +83,7 @@
} SpeexHeader;
*/
-void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m)
+EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m)
{
int i;
const char *h="Speex ";
@@ -118,7 +118,7 @@
header->reserved2 =...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...PreprocessState *state, int request, void *ptr)
{
int i;
SpeexPreprocessState *st;
Index: libspeex/speex_header.c
===================================================================
--- libspeex/speex_header.c (revision 14645)
+++ libspeex/speex_header.c (working copy)
@@ -83,7 +83,7 @@
} SpeexHeader;
*/
-void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m)
+EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m)
{
int i;
const char *h="Speex ";
@@ -118,7 +118,7 @@
header->reserved2 =...
2005 Jun 22
1
Newbie - Encoding PCM
...x_state = speex_encoder_init(IDA->speex_mode);
}
int SPEEX_Close(struct _IDA_ClientSocket *IDA) {
speex_bits_destroy(&IDA->speex_bits);
speex_encoder_destroy(IDA->speex_state);
}
"IDA" struct containts:
struct _IDA_ClientSocket {
[...]
void *speex_state;
SpeexHeader speex_header;
SpeexBits speex_bits;
SpeexMode *speex_mode;
};
so i call SPEEX_Init before start encoding and SPEEX_Encode on every 16000
Bits of the PCM stream from the modem.
The result is a strange file that contains a lot of zeros and no audio
data :-(
Someon can help me pointing...
2004 Aug 06
2
header question
Jean-Marc Valin wrote:
>>a simple question which i can't answer through the manuals ... is the
>>header always 80 bytes long?
>>thanks in advance,
>>
>>
>
>Right now it is. However, I may add some fields (or even additional
>headers) in the future if needed. This shouldn't be a problem since the
>header is always alone in his packet and
2008 Apr 04
0
speexdec 1.2.3
...lin\n");
}
static void *process_header(ogg_packet *op, spx_int32_t enh_enabled, spx_int32_t *frame_size, int *granule_frame_size, spx_int32_t *rate, int *nframes, int forceMode, int *channels, SpeexStereoState *stereo, int *extra_headers, int quiet)
{
void *st;
const SpeexMode *mode;
SpeexHeader *header;
int modeID;
SpeexCallback callback;
header = speex_packet_to_header((char*)op->packet, op->bytes);
if (!header)
{
fprintf (stderr, "Cannot read header\n");
return NULL;
}
if (header->mode >= SPEEX_NB_MODES || header->mode<...
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