40 #include <alsa/asoundlib.h>
63 res =
ff_alsa_open(s1, SND_PCM_STREAM_PLAYBACK, &sample_rate,
67 "sample rate %d not available, nearest is %d\n",
99 while ((res = snd_pcm_writei(s->
h, buf, size)) < 0) {
100 if (res == -EAGAIN) {
127 pkt.
data = (*frame)->data[0];
129 pkt.
dts = (*frame)->pkt_dts;
136 int64_t *dts, int64_t *wall)
139 snd_pcm_sframes_t delay = 0;
141 snd_pcm_delay(s->
h, &delay);
164 .priv_class = &alsa_muxer_class,