search for: static_mode_list

Displaying 1 result from an estimated 1 matches for "static_mode_list".

2011 May 02
1
Modes?
...of code, there is no error (error=0), but it appears that you always return NULL..? CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error) #ifndef CUSTOM_MODES_ONLY for (i=0;i<TOTAL_MODES;i++) { int j; for (j=0;j<4;j++) { if (Fs == static_mode_list[i]->Fs && (frame_size<<j) == static_mode_list[i]->shortMdctSize*static_mode_list[i]->nbShortMdcts) { if (error) *error = CELT_OK; return (CELTMode*)static_mode_list[i]; } } } #endif /* C...