comparison src/CoreAudio/audio.c @ 41:f46ea650face trunk

[svn] - release the audio buffer used by HAL when we close the device.
author nenolod
date Wed, 20 Sep 2006 00:48:59 -0700
parents 3da1b8942b8b
children c852da081533
comparison
equal deleted inserted replaced
40:f15e55bc0e60 41:f46ea650face
407 AudioDeviceRemoveIOProc(device_id, play_callback); 407 AudioDeviceRemoveIOProc(device_id, play_callback);
408 408
409 g_free(device_name); 409 g_free(device_name);
410 410
411 //printf("osx_close(): playing_flag is now %d\n",playing_flag); 411 //printf("osx_close(): playing_flag is now %d\n",playing_flag);
412 } 412
413 413 /* Free audio buffer */
414 g_free(buffer);
415 }
414 416
415 void osx_flush(gint time) 417 void osx_flush(gint time)
416 { 418 {
417 //printf("osx_flush(): %d\n",time); 419 //printf("osx_flush(): %d\n",time);
418 420