Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Exynos 4210 libmedia hack (AudioSystem.cpp)
diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp
index 99cc4e0..ec606bf 100644
--- a/media/libmedia/AudioSystem.cpp
+++ b/media/libmedia/AudioSystem.cpp
@@ -808,6 +808,11 @@ extern "C" bool _ZN7android11AudioSystem15isLowVisibilityENS0_11stream_typeE(aud
}
}
+extern "C" bool _ZN7android11AudioSystem10stopOutputEiNS0_11stream_typeEi(audio_io_handle_t output, audio_stream_type_t stream, int session)
+{
+ return AudioSystem::stopOutput(output, stream, session);
+}
+
#endif // AUDIO_LEGACY
#ifdef YAMAHAPLAYER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment