Home | History | Annotate | Download | only in tinycompress

Lines Matching defs:codec

129 int check_codec_format_supported(unsigned int card, unsigned int device, struct snd_codec *codec)
131 if (is_codec_supported(card, device, COMPRESS_IN, codec) == false) {
132 fprintf(stderr, "Error: This codec or format is not supported by DSP\n");
203 struct snd_codec codec;
226 codec.id = SND_AUDIOCODEC_MP3;
227 codec.ch_in = channels;
228 codec.ch_out = channels;
229 codec.sample_rate = rate;
230 if (!codec.sample_rate) {
235 codec.bit_rate = bits;
236 codec.rate_control = 0;
237 codec.profile = 0;
238 codec.level = 0;
239 codec.ch_mode = 0;
240 codec.format = 0;
249 config.codec = &codec;