40 #include <alsa/asoundlib.h> 
   58     res = 
ff_alsa_open(s1, SND_PCM_STREAM_PLAYBACK, &sample_rate,
 
   62                "sample rate %d not available, nearest is %d\n",
 
   90     while ((res = snd_pcm_writei(s->
h, buf, size)) < 0) {
 
  109     int64_t *dts, int64_t *wall)
 
  112     snd_pcm_sframes_t delay = 0;
 
  114     snd_pcm_delay(s->
h, &delay);