Lines Matching refs:playback
351 int bytes = sndpcm->period_bytes; /* playback buffer size */
366 /* Xrun error, terminate the playback thread*/
384 int bytes = sndpcm->period_bytes; /* playback buffer size */
446 fprintf(bat->log, _("Entering playback thread (ALSA).\n"));
451 err = snd_pcm_open(&sndpcm.handle, bat->playback.device,
454 fprintf(bat->err, _("Cannot open PCM playback device: "));
466 if (bat->playback.file == NULL) {
473 bat->playback.file);
474 bat->fp = fopen(bat->playback.file, "rb");
478 bat->playback.file, err);
483 err = read_wav_header(bat, bat->playback.file, bat->fp, true);
500 if (bat->playback.file)