/[qemu]/qemu/audio/alsaaudio.c
ViewVC logotype

Diff of /qemu/audio/alsaaudio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by bellard, Sun Nov 20 16:24:34 2005 UTC revision 1.5 by bellard, Sun Nov 20 18:53:05 2005 UTC
# Line 690  static int alsa_voice_ctl (snd_pcm_t *ha Line 690  static int alsa_voice_ctl (snd_pcm_t *ha
690      if (pause) {      if (pause) {
691          err = snd_pcm_drop (handle);          err = snd_pcm_drop (handle);
692          if (err < 0) {          if (err < 0) {
693              alsa_logerr (err, "Could not stop %s", typ);              alsa_logerr (err, "Could not stop %s\n", typ);
694              return -1;              return -1;
695          }          }
696      }      }
697      else {      else {
698          err = snd_pcm_prepare (handle);          err = snd_pcm_prepare (handle);
699          if (err < 0) {          if (err < 0) {
700              alsa_logerr (err, "Could not prepare handle for %s", typ);              alsa_logerr (err, "Could not prepare handle for %s\n", typ);
701              return -1;              return -1;
702          }          }
703      }      }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26