diff options
author | Andre Pang <athp@users.sourceforge.net> | 2004-06-21 15:09:24 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2004-06-21 15:09:24 +0000 |
commit | a2f6f8358f2a4be9c4d87acf2320fda2184de5a2 (patch) | |
tree | ce6d6026e92f5921d49b68a738471bd4dafb15e4 | |
parent | d5aaad821db9c1876f2dbfbbbc873cb9ace8c8ab (diff) | |
download | xine-lib-a2f6f8358f2a4be9c4d87acf2320fda2184de5a2.tar.gz xine-lib-a2f6f8358f2a4be9c4d87acf2320fda2184de5a2.tar.bz2 |
CoreAudio output driver: renamed 'CloseAComponent' function to 'CloseComponent'
CVS patchset: 6723
CVS date: 2004/06/21 15:09:24
-rw-r--r-- | src/audio_out/audio_coreaudio_out.c | 6 |
1 files 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; } } |