From ce189c522dec4b777ef5bd9f7b657b73d860e55d Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Wed, 16 Sep 2009 16:11:31 +0000 Subject: Don't redefine what Snow Leopard provides if Snow Leopard has provided it. Review URL: http://codereview.chromium.org/205015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26347 0039d316-1c4b-4281-b951-d872f2087c98 --- media/audio/mac/audio_output_mac.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'media/audio') diff --git a/media/audio/mac/audio_output_mac.cc b/media/audio/mac/audio_output_mac.cc index 2f79233..f2446b4 100644 --- a/media/audio/mac/audio_output_mac.cc +++ b/media/audio/mac/audio_output_mac.cc @@ -25,10 +25,12 @@ // 6) The same thread that called stop will call Close() where we cleanup // and notifiy the audio manager, which likley will destroy this object. -// TODO(cpu): Remove the constant for this error when snow leopard arrives. +#if !defined(MAC_OS_X_VERSION_10_6) || \ + MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 enum { kAudioQueueErr_EnqueueDuringReset = -66632 }; +#endif PCMQueueOutAudioOutputStream::PCMQueueOutAudioOutputStream( AudioManagerMac* manager, int channels, int sampling_rate, -- cgit v1.1