From a2f6f8358f2a4be9c4d87acf2320fda2184de5a2 Mon Sep 17 00:00:00 2001 From: Andre Pang Date: Mon, 21 Jun 2004 15:09:24 +0000 Subject: CoreAudio output driver: renamed 'CloseAComponent' function to 'CloseComponent' CVS patchset: 6723 CVS date: 2004/06/21 15:09:24 --- src/audio_out/audio_coreaudio_out.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/audio_out/audio_coreaudio_out.c b/src/audio_out/audio_coreaudio_out.c index 59de91cd3..6ad1a563f 100644 --- a/src/audio_out/audio_coreaudio_out.c +++ b/src/audio_out/audio_coreaudio_out.c @@ -323,12 +323,14 @@ static void ao_coreaudio_close(ao_driver_t *this_gen) } if (this->au_component) { - CloseAComponent (this->au_component); + /* contrary to some of Apple's documentation, the function to close a + * component is called CloseComponent, not CloseAComponent */ + CloseComponent (this->au_component); this->au_component = NULL; } if (this->converter_component) { - CloseAComponent (this->converter_component); + CloseComponent (this->converter_component); this->converter_component = NULL; } } -- cgit v1.2.3