Lines Matching defs:Dev_hdr
96 static Audio_hdr Dev_hdr; /* audio header for device */
164 if (audio_cmp_hdr(&Save_hdr, &Dev_hdr) != 0) {
512 bcopy(&Save_hdr, &Dev_hdr, sizeof (Save_hdr));
521 Dev_hdr.sample_rate = Sample_rate;
524 Dev_hdr.channels = Channels;
527 Dev_hdr.bytes_per_unit = Precision / 8;
530 Dev_hdr.encoding = Encoding;
541 Dev_hdr.encoding == AUDIO_ENCODING_LINEAR &&
542 Dev_hdr.bytes_per_unit == 1) {
544 Dev_hdr.encoding = AUDIO_ENCODING_LINEAR8;
546 Dev_hdr.encoding = AUDIO_ENCODING_LINEAR;
548 Dev_hdr.bytes_per_unit = AUDIO_PRECISION_8 / 8;
552 if (audio_set_record_config(Audio_fd, &Dev_hdr) != AUDIO_SUCCESS) {
568 switch (audio_cmp_hdr(&Dev_hdr, &File_hdr)) {
575 ((double)Dev_hdr.sample_rate / 1000.),
582 (void) audio_enc_to_str(&Dev_hdr, msg);
591 if (audio_write_filehdr(ofd, &Dev_hdr, File_type, Info,
608 if (Dev_hdr.bytes_per_unit == 2 &&
642 Limit = audio_secs_to_bytes(&Dev_hdr, Time);
701 Dev_hdr.channels, Dev_hdr.bytes_per_unit);
717 if (audio_cmp_hdr(&Save_hdr, &Dev_hdr) != 0) {