From 933a883015f915d92c96005bc15e85e6722a5f70 Mon Sep 17 00:00:00 2001 From: beveloper Date: Mon, 8 Dec 2003 23:16:43 +0000 Subject: [PATCH] Should provide better compatiblity with SoundPlay 4.8 (but SoundPlay does crash) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5632 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/media/!missing_symbols.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/kits/media/!missing_symbols.cpp b/src/kits/media/!missing_symbols.cpp index fc2a5bd079..db5dbd774b 100644 --- a/src/kits/media/!missing_symbols.cpp +++ b/src/kits/media/!missing_symbols.cpp @@ -7,6 +7,12 @@ #include #include "debug.h" +// SoundPlay 4.8 is evil, uses undocumented media kit API +extern "C" void *__get_decoder_manager__Fv(void); +void *__get_decoder_manager__Fv(void) { return 0; } +extern "C" void ScanDirs__Q28BPrivate13_AddonManager(void *); +void ScanDirs__Q28BPrivate13_AddonManager(void *) { } + /* According to the normal headers, these symbols should neither be * included in libmedia.so, nor used by anything. * But BeOS R5 has them, and they are required to load the BeOS R5