Searched refs:Audio_fd (Results 1 – 2 of 2) sorted by relevance
92 static int Audio_fd = -1; variable172 if (Audio_fd >= 0) { in sigint()173 (void) audio_flush_play(Audio_fd); in sigint()177 (void) audio_set_play_gain(Audio_fd, &Savevol); in sigint()180 (void) audio_set_play_config(Audio_fd, &Save_hdr); in sigint()194 if (Audio_fd >= 0) in open_audio()198 Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK); in open_audio()199 if ((Audio_fd < 0) && (errno == EBUSY)) { in open_audio()211 Audio_fd = open(Audio_dev, O_WRONLY); in open_audio()213 Error(stderr, (Audio_fd < 0) ? "\n" : MGET("open\n")); in open_audio()[all …]
94 static int Audio_fd = -1; variable152 if (!Cleanup && (Audio_fd >= 0)) { in sigint()155 if (audio_pause_record(Audio_fd) == AUDIO_SUCCESS) in sigint()161 if (Audio_fd >= 0) { in sigint()163 (void) audio_set_record_gain(Audio_fd, &Savevol); in sigint()165 (void) audio_set_record_config(Audio_fd, &Save_hdr); in sigint()488 Audio_fd = open(Audio_dev, O_RDONLY | O_NONBLOCK); in main()489 if (Audio_fd < 0) { in main()499 if (audio_pause_record(Audio_fd) != AUDIO_SUCCESS) { in main()505 if (audio_get_record_config(Audio_fd, &Save_hdr) != AUDIO_SUCCESS) { in main()[all …]