41 Commits

Author SHA1 Message Date
Matthew Hoops
41a1dcb0bb BACKENDS: Switch to a common base class for threaded audio CD streams 2016-03-13 13:57:24 +01:00
Matthew Hoops
aa6ff44440 BACKENDS: Only expose one set of functions for AudioCDManager
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew Hoops
dc0d4fcf30 BACKENDS: Add support for opening a CD on Mac OS X by path or drive 2016-03-13 13:57:13 +01:00
Matthew Hoops
4a6c7b5c83 BACKENDS: Add support for opening a CD on Windows by drive 2016-03-13 13:57:09 +01:00
Matthew Hoops
442f91c622 BACKENDS: Add support for opening a CD on Linux by path or drive 2016-03-13 13:57:05 +01:00
Matthew Hoops
1626fbd633 BACKENDS: Allow for specifying a drive via the cdrom option 2016-03-13 13:57:01 +01:00
Matthew Hoops
e39faa239a BACKENDS: Use a second thread to assist in buffering Win32 CD audio 2016-03-13 13:56:56 +01:00
Matthew Hoops
2aa2a6b56c BACKENDS: Add a Win32 audio CD player 2016-03-13 13:56:51 +01:00
Matthew Hoops
2ee85fcbd9 BACKENDS: Use a threading for buffering Linux CD audio 2016-03-13 13:56:46 +01:00
Matthew Hoops
91d695d4a2 BACKENDS: Detect the CD drive from the game's path on Linux 2016-03-13 13:56:39 +01:00
Matthew Hoops
a1a4fc0d51 BACKENDS: Add a Linux CD-ROM audio player 2016-03-13 13:56:28 +01:00
Matthew Hoops
47a82f2d1b BACKENDS: Add a custom Mac OS X CD audio manager
Since Mac OS X Carbon/Cocoa API isn't stable (in that it's changed multiple times over the years). Maintaining two versions of the same code (one in some foreign language with overly long names) isn't very appealing to me.
2016-03-13 13:53:55 +01:00
Matthew Hoops
30e68efac4 BACKENDS: Add a closeCD() function to the AudioCDManager 2016-03-13 13:53:35 +01:00
Matthew Hoops
fb6fe1332a BACKENDS: Move to an openCD() without parameters as the public API 2016-03-13 13:52:24 +01:00
Bastien Bouclet
b9a1074999 PS3: Make use of an updated SDL2 version
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
2015-12-15 20:10:19 +01:00
Johannes Schickel
b00050439f SDL: Guard audio CD code to be SDL 1.2 only. 2015-01-25 21:51:54 +01:00
Einar Johan Trøan Sømåen
1506f6049e BACKENDS: Fix some Doxygen comments that seem wrong. 2014-08-29 03:28:26 +02:00
Johannes Schickel
63304ee9ec SDL: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel
121687d2ed BACKENDS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Willem Jan Palenstijn
c9f0e8149d ALL: Fix typo (succesful -> successful)
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2013-06-06 16:45:59 +02:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00
Max Horn
df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
4e0e406181 SDL: Move #include <SDL.h> into a special wrapper file
svn-id: r54572
2010-11-29 16:16:50 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Johannes Schickel
75e8452b6e OPENGL: Merged from trunk, from rev 52105 to 53396.
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.

Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.

svn-id: r53399
2010-10-13 03:57:44 +00:00
Alejandro Marzini
58d256c15e SDL: Make use of SDL_BACKEND instead of platform specific defines.
svn-id: r52029
2010-08-12 06:30:26 +00:00
Alejandro Marzini
33e40e1a20 Merged from trunk, from r51495 to r51775
svn-id: r51776
2010-08-06 03:21:21 +00:00
Lars Persson
2e55bcf383 SYMBIAN platform. Correct building of SDL refacturing for Symbian.
svn-id: r51587
2010-08-01 19:40:46 +00:00
Alejandro Marzini
fda9416cc8 Cleanup and documentation.
svn-id: r50609
2010-07-03 00:13:45 +00:00
Alejandro Marzini
f9c3a4547c Cleanup and documentation.
svn-id: r50589
2010-07-02 06:44:42 +00:00
Alejandro Marzini
04dce6a106 Fixed AudioCDManager not having a public inheritance. Backend code cleanup.
svn-id: r50189
2010-06-23 19:34:07 +00:00
Alejandro Marzini
6a52a168ee Renamed abstract Manager files.
svn-id: r49677
2010-06-15 03:49:20 +00:00
Alejandro Marzini
33c36f3c7c Commented AudioCDManager
svn-id: r49554
2010-06-10 02:08:08 +00:00
Alejandro Marzini
e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +00:00
Alejandro Marzini
4177a1e16d Added an abstract version of AudioCDManager.
svn-id: r49547
2010-06-09 18:51:55 +00:00
Alejandro Marzini
9f2358612a Created DefaultAudioCDManager and SdlAudioCDManager
svn-id: r49532
2010-06-09 05:39:27 +00:00