Skip to content

Instantly share code, notes, and snippets.

@alanorth
Created April 6, 2012 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanorth/2318183 to your computer and use it in GitHub Desktop.
Save alanorth/2318183 to your computer and use it in GitHub Desktop.
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