Lines Matching defs:input_source
85 const char* input_source;
298 if (!s->input_source) return;
301 s->input_fd = open(s->input_source, O_BINARY | O_RDONLY);
304 fprintf(stderr, "goldfish_audio could not open %s for audio input\n", s->input_source);
305 s->input_source = NULL; // set to to avoid endless retries
312 fprintf(stderr, "goldfish_audio could not read WAV file header %s\n", s->input_source);
314 s->input_source = NULL; // set to to avoid endless retries
384 return (s->input_source ? 1 : 0);
548 void goldfish_audio_init(uint32_t base, int id, const char* input_source)
566 if (input_source) {
567 s->input_source = input_source;
568 char* extension = strrchr(input_source, '.');