Lines Matching defs:format

100 	struct format_struct format;
410 fFormat = new BStringView(r, "format", B_TRANSLATE("Format:"));
458 // buffers with B_MEDIA_RAW_AUDIO format data.
685 * (fRecordFormat.u.raw_audio.format
895 // Get a format, any format.
896 fRecordFormat.u.raw_audio = audioOutput.format.u.raw_audio;
965 header.format_chunk.len = sizeof(header.format);
966 header.format.format_tag = 1;
967 header.format.channels = fRecordFormat.u.raw_audio.channel_count;
968 header.format.samples_per_sec = (uint32)fRecordFormat.u.raw_audio.frame_rate;
969 header.format.avg_bytes_per_sec = (uint32)(fRecordFormat.u.raw_audio.frame_rate
971 * (fRecordFormat.u.raw_audio.format & 0xf));
972 header.format.bits_per_sample = (fRecordFormat.u.raw_audio.format & 0xf) * 8;
973 header.format.block_align = (fRecordFormat.u.raw_audio.format & 0xf)
1100 BString format = B_TRANSLATE("Format: ");
1103 format << file_format.short_name;
1115 samplesize << 8 * (fPlayFormat.u.raw_audio.format & 0xf)
1123 fFormat->SetText(format.String());
1212 void* data, size_t size, const media_format &format)
1221 window->fVUView->ComputeLevels(data, size, format.u.raw_audio.format);
1242 const media_raw_audio_format & format)
1246 int32 frame_size = (window->fPlayFormat.u.raw_audio.format & 0xf) *
1257 window->fVUView->ComputeLevels(data, size / frame_size, format.format);
1356 int32 frameSize = (fPlayFormat.u.raw_audio.format & 0xf)
1365 header.format_chunk.len = sizeof(header.format);
1366 header.format.format_tag = 1;
1367 header.format.channels = fPlayFormat.u.raw_audio.channel_count;
1368 header.format.samples_per_sec
1370 header.format.avg_bytes_per_sec
1373 * (fPlayFormat.u.raw_audio.format & 0xf));
1374 header.format.bits_per_sample
1375 = (fPlayFormat.u.raw_audio.format & 0xf) * 8;
1376 header.format.block_align = frameSize;