Searched refs:Dev_hdr (Results 1 – 2 of 2) sorted by relevance
525 Dev_hdr.sample_rate = Sample_rate; in main()528 Dev_hdr.channels = Channels; in main()531 Dev_hdr.bytes_per_unit = Precision / 8; in main()534 Dev_hdr.encoding = Encoding; in main()546 Dev_hdr.bytes_per_unit == 1) { in main()548 Dev_hdr.encoding = AUDIO_ENCODING_LINEAR8; in main()550 Dev_hdr.encoding = AUDIO_ENCODING_LINEAR; in main()579 ((double)Dev_hdr.sample_rate / 1000.), in main()586 (void) audio_enc_to_str(&Dev_hdr, msg); in main()612 if (Dev_hdr.bytes_per_unit == 2 && in main()[all …]
102 static Audio_hdr Dev_hdr; /* audio header for device */ variable183 (audio_cmp_hdr(&Save_hdr, &Dev_hdr) != 0)) { in sigint()230 if (audio_get_play_config(Audio_fd, &Dev_hdr) != AUDIO_SUCCESS) { in open_audio()464 if (audio_cmp_hdr(&Dev_hdr, &File_hdr) != 0) { in main()833 if ((Audio_ctlfd >= 0) && (audio_cmp_hdr(&Save_hdr, &Dev_hdr) != 0)) { in main()854 Dev_hdr = File_hdr; in reconfig()855 err = audio_set_play_config(Audio_fd, &Dev_hdr); in reconfig()867 if (audio_cmp_hdr(&Dev_hdr, &File_hdr) > 0) { in reconfig()871 (Dev_hdr.sample_rate - File_hdr.sample_rate)) / in reconfig()879 Dev_hdr.sample_rate); in reconfig()