Lines Matching refs:format
97 /* MP3 sub format field definition : can use 11 LSBs in the same way as MP3
104 /* AMR NB/WB sub format field definition: specify frame block interleaving,
111 /* AAC sub format field definition: specify profile or bitrate for recording... */
116 /* VORBIS sub format field definition: specify quality for recording... */
121 /* Audio format consists in a main format field (upper 8 bits) and a sub format
124 * The main format indicates the main codec type. The sub format field
125 * indicates options and parameters for each format. The sub format is mainly
385 format)
387 switch (format & AUDIO_FORMAT_MAIN_MASK) {
389 if (format != AUDIO_FORMAT_PCM_16_BIT &&
390 format != AUDIO_FORMAT_PCM_8_BIT) {
406 static inline bool audio_is_linear_pcm(uint32_t format)
408 return ((format & AUDIO_FORMAT_MAIN_MASK) == AUDIO_FORMAT_PCM);
411 static inline size_t audio_bytes_per_sample(uint32_t format)
415 switch (format) {