blob: 94fc987eb991ea88461f60c3512c58706ea9b412 [file] [log] [blame]
#pragma once
#include <stdbool.h>
#include <osmocom/gsm/protocol/gsm_04_08.h>
struct gsm0808_channel_type;
struct gsm0808_speech_codec_list;
struct gsm_audio_support;
struct bts_codec_conf;
int match_codec_pref(enum gsm48_chan_mode *chan_mode,
bool *full_rate,
const struct gsm0808_channel_type *ct,
const struct gsm0808_speech_codec_list *scl,
struct gsm_audio_support * const *audio_support,
int audio_length,
const struct bts_codec_conf *bts_codec);