Lines Matching refs:header

249 		//	Create the window header with controls
366 // below the header with the controls.
960 wave_struct header;
961 header.riff.riff_id = FOURCC('R','I','F','F');
962 header.riff.len = fRecSize + sizeof(header) - 8;
963 header.riff.wave_id = FOURCC('W','A','V','E');
964 header.format_chunk.fourcc = FOURCC('f','m','t',' ');
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
972 header.format.bits_per_sample = (fRecordFormat.u.raw_audio.format & 0xf) * 8;
973 header.format.block_align = (fRecordFormat.u.raw_audio.format & 0xf)
975 header.data_chunk.fourcc = FOURCC('d','a','t','a');
976 header.data_chunk.len = fRecSize;
978 fRecFile.Write(&header, sizeof(header));
980 fRecFile.SetSize(fRecSize + sizeof(header));
1359 wave_struct header;
1360 header.riff.riff_id = FOURCC('R','I','F','F');
1361 header.riff.len
1362 = (frameSize * framesToWrite) + sizeof(header) - 8;
1363 header.riff.wave_id = FOURCC('W','A','V','E');
1364 header.format_chunk.fourcc = FOURCC('f','m','t',' ');
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
1374 header.format.bits_per_sample
1376 header.format.block_align = frameSize;
1377 header.data_chunk.fourcc = FOURCC('d','a','t','a');
1378 header.data_chunk.len = frameSize * framesToWrite;
1380 file.Write(&header, sizeof(header));