aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-23 21:00:21 +0000
committerAlejandro Marzini2010-06-23 21:00:21 +0000
commit1069be7f9bb6aefef5feebeca6f6d4d2936d8677 (patch)
tree5c4516e019a39e928dcf9643db46d1495e27255e
parent0fb9d3ccfa3c2f0ddaa9019702a0039c96112c34 (diff)
downloadscummvm-rg350-1069be7f9bb6aefef5feebeca6f6d4d2936d8677.tar.gz
scummvm-rg350-1069be7f9bb6aefef5feebeca6f6d4d2936d8677.tar.bz2
scummvm-rg350-1069be7f9bb6aefef5feebeca6f6d4d2936d8677.zip
Reversing modification by mistake from r50191.
svn-id: r50192
-rw-r--r--backends/platform/symbian/src/SymbianOS.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h
index 00b8ec12f2..42929f8029 100644
--- a/backends/platform/symbian/src/SymbianOS.h
+++ b/backends/platform/symbian/src/SymbianOS.h
@@ -42,20 +42,35 @@ public:
*/
virtual void initBackend();
+ int getDefaultGraphicsMode() const;
+ const OSystem::GraphicsMode *getSupportedGraphicsModes() const;
+ bool setGraphicsMode(const char *name);
void quitWithErrorMsg(const char *msg);
-
virtual bool hasFeature(Feature f);
void setFeatureState(Feature f, bool enable);
+ // Set function that generates samples
+ //
+ // This function is overridden by the symbian port in order to provide MONO audio
+ // downmix is done by supplying our own audiocallback
+ //
+ virtual void setupMixer(); // overloaded by CE backend
+
// Overloaded from SDL_Commmon
void quit();
// Returns reference to File session
RFs& FsSession();
+protected:
+ //
+ // The mixer callback function.
+ //
+ static void symbianMixCallback(void *s, byte *samples, int len);
+
virtual Common::SeekableReadStream *createConfigReadStream();
virtual Common::WriteStream *createConfigWriteStream();
-
+public:
// vibration support
#ifdef USE_VIBRA_SE_PXXX
//