[Scummvm-cvs-logs] SF.net SVN: scummvm:[50192] scummvm/branches/gsoc2010-opengl/backends/ platform/symbian/src/SymbianOS.h
vgvgf at users.sourceforge.net
vgvgf at users.sourceforge.net
Wed Jun 23 23:00:22 CEST 2010
Revision: 50192
http://scummvm.svn.sourceforge.net/scummvm/?rev=50192&view=rev
Author: vgvgf
Date: 2010-06-23 21:00:21 +0000 (Wed, 23 Jun 2010)
Log Message:
-----------
Reversing modification by mistake from r50191.
Modified Paths:
--------------
scummvm/branches/gsoc2010-opengl/backends/platform/symbian/src/SymbianOS.h
Modified: scummvm/branches/gsoc2010-opengl/backends/platform/symbian/src/SymbianOS.h
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/platform/symbian/src/SymbianOS.h 2010-06-23 20:55:36 UTC (rev 50191)
+++ scummvm/branches/gsoc2010-opengl/backends/platform/symbian/src/SymbianOS.h 2010-06-23 21:00:21 UTC (rev 50192)
@@ -42,20 +42,35 @@
*/
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
//
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list