Lines Matching defs:codec
145 bool codec = false;
149 if (caps->codecs[i] == config->codec->id) {
150 /* found the codec */
151 codec = true;
155 if (codec == false) {
156 oops(compress, ENXIO, "this codec is not supported");
181 /* TODO: match the codec properties */
185 static bool _is_codec_type_supported(int fd, struct snd_codec *codec)
197 if (caps.codecs[i] == codec->id) {
198 /* found the codec */
203 /* TODO: match the codec properties */
212 memcpy(¶ms->codec, config->codec, sizeof(params->codec));
276 oops(compress, errno, "codec not supported\n");
576 unsigned int flags, struct snd_codec *codec)
594 ret = _is_codec_type_supported(fd, codec);