summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2013-03-11 05:10:35 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-04-28 20:23:46 -0700
commite411d62373f5d13f6bebf3073efa6f94fd7ba460 (patch)
tree291dcef84117e1fa49cd534d3348fe491a55e64a
parent0bbd9e8b361a761d858a2ffe53d60d234a938654 (diff)
downloadframeworks_av-e411d62373f5d13f6bebf3073efa6f94fd7ba460.zip
frameworks_av-e411d62373f5d13f6bebf3073efa6f94fd7ba460.tar.gz
frameworks_av-e411d62373f5d13f6bebf3073efa6f94fd7ba460.tar.bz2
libmedia: Add ICS AudioStreamType constructor
Needed for Samsung legacy camera libs. Change-Id: If03d8525b55181ea20dc934dbcbfef85402c42c7
-rw-r--r--media/libmedia/mediaplayer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp
index bbbf4b6..6073756 100644
--- a/media/libmedia/mediaplayer.cpp
+++ b/media/libmedia/mediaplayer.cpp
@@ -807,4 +807,11 @@ status_t MediaPlayer::setNextMediaPlayer(const sp<MediaPlayer>& next) {
return mPlayer->setNextPlayer(next == NULL ? NULL : next->mPlayer);
}
+#ifdef SAMSUNG_CAMERA_LEGACY
+extern "C" int _ZN7android11MediaPlayer18setAudioStreamTypeE19audio_stream_type_t();
+extern "C" int _ZN7android11MediaPlayer18setAudioStreamTypeEi() {
+ return _ZN7android11MediaPlayer18setAudioStreamTypeE19audio_stream_type_t();
+}
+#endif
+
}; // namespace android