Cameron Cawley
5c255b3aa9
WIN32: Add override and final keywords
2020-10-16 18:32:08 +01:00
SupSuper
d0512db25c
WIN32: Move all ARRAYSIZE undefs to util.h
...
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-17 12:28:33 +02:00
Bastien Bouclet
de886a8b58
AUDIO: Fix broken physical audio CD playback on non-win32
...
The play method did not override the base class due to the addition of
the soundType parameter.
2018-07-31 21:44:26 +02:00
Paul Gilbert
f5238c66d5
XEEN: Add an optional param to CD playback to specify sound type
2018-05-05 10:46:20 -04:00
D G Turner
872c5ee7c5
LINUX: Fix Header for major/minor macros, thus removing warnings.
...
Warnings are as follows:
"In the GNU C Library, "minor" is defined by <sys/sysmacros.h>.
For historical compatibility, it is currently defined by
<sys/types.h> as well, but we plan toremove this soon.
To use "minor", include <sys/sysmacros.h> directly. If you did
not intend to use a system-defined macro "minor", you should
undefine it after including <sys/types.h>"
2017-11-07 20:18:22 +00:00
Eugene Sandulenko
355c4fa646
JANITORIAL: Remove more trailing spaces
2016-10-09 15:02:02 +02:00
Johannes Schickel
99bb62f0e9
LINUX: Use classic major/minor macros.
...
Makes our Linux Audio CD code work with implementations without gnu_dev_major
and gnu_dev_minor too.
2016-03-21 04:42:13 +01:00
Johannes Schickel
afe8ea139c
MACOSX: Add comment about track ID search loop.
2016-03-15 14:25:42 +01:00
Johannes Schickel
7725e00e9a
LINUX: Guard Linux audio CD code.
2016-03-15 14:24:23 +01:00
Johannes Schickel
f75bc48141
MACOSX: Guard audio cd code by define check.
2016-03-15 14:24:23 +01:00
Johannes Schickel
ad678cf083
MACOSX: Replace manual uint parsing by strtol.
2016-03-15 14:24:23 +01:00
Johannes Schickel
6a127df564
WIN32: Cleanup header includes for AudioCD code.
2016-03-14 01:04:11 +01:00
Johannes Schickel
88f8ecde0b
WIN32: Supply required DDK headers for older MSVC.
...
Header file taken from MinGW's w32api 4.0.3.
2016-03-14 01:03:13 +01:00
Johannes Schickel
2872c7f9eb
WIN32: Fix compilation with MinGW-w64.
2016-03-13 20:44:04 +01:00
Johannes Schickel
045b583141
WIN32: Guard AudioCD code by WIN32 check.
2016-03-13 20:44:04 +01:00
Johannes Schickel
075bde796e
WIN32: Silence warning in AudioCD code.
2016-03-13 20:44:04 +01:00
Johannes Schickel
b9b3d4557c
WIN32: Fix AudioCD compilation.
2016-03-13 20:44:04 +01:00
Johannes Schickel
5e0b136992
BACKENDS: Fill buffer at start of AudioCD playback.
...
As suggested by clone2727.
2016-03-13 15:45:19 +01:00
Johannes Schickel
8cd4b881e3
BACKENDS: Add ScummVM license header for AudioCD code.
...
As discussed with clone2727.
2016-03-13 14:16:13 +01:00
Johannes Schickel
90899860b4
BACKENDS: Formatting fixes.
2016-03-13 14:06:20 +01:00
Matthew Hoops
c6c0f527a7
BACKENDS: Switch to CDROMREADRAW for Linux audio CD
...
CDROMREADAUDIO seems to crash the kernel when ejecting while playing. Let's try to avoid that.
2016-03-13 13:57:30 +01:00
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