aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-03-08 18:14:57 -0800
committerEric Laurent <elaurent@google.com>2012-03-08 18:14:57 -0800
commitd6ae61e0932fb5c5a35914f35c9074c364f8e6e0 (patch)
treeee472cafd4af839cc51f00f49a40ef7757a038f2
parent3cd3a11758c635ce2415f118f3cdcda186ae681e (diff)
downloadbluez-d6ae61e0932fb5c5a35914f35c9074c364f8e6e0.tar.gz
fix GPL build
Change-Id: Iab79133bf1045a51e5f8fa97f0c60765ee02fbe9
-rw-r--r--audio/android_audio_hw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/android_audio_hw.c b/audio/android_audio_hw.c
index 51d11426..07461096 100644
--- a/audio/android_audio_hw.c
+++ b/audio/android_audio_hw.c
@@ -36,6 +36,11 @@
#include "liba2dp.h"
+/* for backward compatibility with older audio framework */
+#ifndef AUDIO_PARAMETER_A2DP_SINK_ADDRESS
+ #define AUDIO_PARAMETER_A2DP_SINK_ADDRESS "a2dp_sink_address"
+#endif
+
#define A2DP_WAKE_LOCK_NAME "A2dpOutputStream"
#define MAX_WRITE_RETRIES 5