/[qemu]/qemu/audio/audio_template.h
ViewVC logotype

Diff of /qemu/audio/audio_template.h

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

revision 1.2 by bellard, Sat Nov 5 18:55:27 2005 UTC revision 1.3 by bellard, Fri Nov 11 00:03:36 2005 UTC
# Line 131  static HW *glue (audio_pcm_hw_find_any_p Line 131  static HW *glue (audio_pcm_hw_find_any_p
131          if (!hw) {          if (!hw) {
132              dolog ("Can not allocate voice `%s' size %d\n",              dolog ("Can not allocate voice `%s' size %d\n",
133                     drv->name, glue (drv->voice_size_, TYPE));                     drv->name, glue (drv->voice_size_, TYPE));
134                return NULL;
135          }          }
136    
137          LIST_INSERT_HEAD (&s->glue (hw_head_, TYPE), hw, entries);          LIST_INSERT_HEAD (&s->glue (hw_head_, TYPE), hw, entries);
# Line 221  static SW *glue (audio_pcm_create_voice_ Line 222  static SW *glue (audio_pcm_create_voice_
222    
223      sw = audio_calloc (AUDIO_FUNC, 1, sizeof (*sw));      sw = audio_calloc (AUDIO_FUNC, 1, sizeof (*sw));
224      if (!sw) {      if (!sw) {
225          dolog ("Could not allocate soft voice `%s' (%d bytes)\n",          dolog ("Could not allocate soft voice `%s' (%zu bytes)\n",
226                 sw_name ? sw_name : "unknown", sizeof (*sw));                 sw_name ? sw_name : "unknown", sizeof (*sw));
227          goto err1;          goto err1;
228      }      }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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