2 * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
3 * Universitaet Berlin. See the accompanying file "COPYRIGHT" for
4 * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
7 #include "gsm610_priv.h"
11 int gsm_option (gsm r
, int opt
, int * val
)
19 if (val
) r
->ltp_cut
= *val
;
26 if (val
) r
->verbose
= *val
;
32 #if defined(FAST) && defined(USE_FLOAT_MUL)
34 if (val
) r
->fast
= !!*val
;
38 case GSM_OPT_FRAME_CHAIN
:
41 result
= r
->frame_chain
;
42 if (val
) r
->frame_chain
= *val
;
46 case GSM_OPT_FRAME_INDEX
:
49 result
= r
->frame_index
;
50 if (val
) r
->frame_index
= *val
;
58 if (val
) r
->wav_fmt
= !!*val
;