Lines Matching defs:format
98 // MP3 sub format field definition : can use 11 LSBs in the same way as MP3 frame header to specify
104 // AMR NB/WB sub format field definition: specify frame block interleaving, bandwidth efficient or octet aligned,
110 // AAC sub format field definition: specify profile or bitrate for recording...
115 // VORBIS sub format field definition: specify quality for recording...
120 // Audio format consists in a main format field (upper 8 bits) and a sub format field (lower 24 bits).
121 // The main format indicates the main codec type. The sub format field indicates options and parameters
122 // for each format. The sub format is mainly used for record to indicate for instance the requested bitrate
345 static bool isValidFormat(uint32_t format) {
346 return audio_is_valid_format((audio_format_t) format);
348 static bool isLinearPCM(uint32_t format) {
349 return audio_is_linear_pcm((audio_format_t) format);