Displaying 5 results from an estimated 5 matches for "voc_offset".
2007 Jul 23
2
Shoehorning speex is confusing a newbie
...nd. I tried to use
SPEEX_SET_MODE in there too but it just got overwritten by the set mode
in the encode function. So I thought I'd try to force it into mode 3
and see what happens, and I got A result, but when I try to decode it my
decode stage gets stuck in an infinite loop:
while (st->voc_offset<st->subframeSize)
{
if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never
entered:
if (SUBMODE(lb...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...nd. I tried to use
SPEEX_SET_MODE in there too but it just got overwritten by the set mode
in the encode function. So I thought I'd try to force it into mode 3
and see what happens, and I got A result, but when I try to decode it my
decode stage gets stuck in an infinite loop:
while (st->voc_offset<st->subframeSize)
{
if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never
entered:
if (SUBMODE(lb...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...I tried to use SPEEX_SET_MODE in there too but it just got overwritten by the set mode in the encode function. So I thought I'd try to force it into mode 3 and see what happens, and I got A result, but when I try to decode it my decode stage gets stuck in an infinite loop:
while (st->voc_offset<st->subframeSize)
{
if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never en...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...nd. I tried to use
SPEEX_SET_MODE in there too but it just got overwritten by the set mode
in the encode function. So I thought I'd try to force it into mode 3
and see what happens, and I got A result, but when I try to decode it my
decode stage gets stuck in an infinite loop:
while (st->voc_offset<st->subframeSize)
{
if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never
entered:
if (SUBMODE(lb...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...dx = 0;
st->sampling_rate=8000;
st->last_ol_gain = 0;
st->user_callback.func = &speex_default_user_handler;
st->user_callback.data = NULL;
for (i=0;i<16;i++)
st->speex_callbacks[i].func = NULL;
st->voc_m1=st->voc_m2=st->voc_mean=0;
st->voc_offset=0;
st->dtx_enabled=0;
#ifdef ENABLE_VALGRIND
VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
#endif
return st;
}
void nb_decoder_destroy(void *state)
{
DecState *st;
st=(DecState*)state;
speex_free(state);
}
#define median3(a, b, c) ((a) < (b) ? ((b) < (c) ? (b)...