summaryrefslogtreecommitdiffstats
path: root/media/audio
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 16:11:31 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 16:11:31 +0000
commitce189c522dec4b777ef5bd9f7b657b73d860e55d (patch)
tree67c576866dcf380d5d347e43308a41d828e51ede /media/audio
parente510a1bdc7c83c57ed614c9bedf65343f0efb311 (diff)
downloadchromium_src-ce189c522dec4b777ef5bd9f7b657b73d860e55d.zip
chromium_src-ce189c522dec4b777ef5bd9f7b657b73d860e55d.tar.gz
chromium_src-ce189c522dec4b777ef5bd9f7b657b73d860e55d.tar.bz2
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
Diffstat (limited to 'media/audio')
-rw-r--r--media/audio/mac/audio_output_mac.cc4
1 files changed, 3 insertions, 1 deletions
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,