flycast/core
Jan Holthuis e3f1784a0f Implement audio backend system
This makes it possible to have multiple audio backends compiled into
reicast (e.g. ALSA & OSS on Linux). These can then selected by the user
via a config option ("backend" iin the "audio" section). It *should*
also be possible to reduce the number of platform-specific ifdefs with this
approach.

Audio backends need to define a struct (audiobackend_t) that holds a
pointer to it's init, push and term function and also a slug and a name
as string. They then need to pass a pointer to this struct to
RegisterAudioBackend() before InitAudio() is called.

For now, I defined a function (RegisterAllAudioBackends) that get's
called exactly once (i.e. upon first call of InitAudio()), where
we can put ifdef'd RegisterAudioBackend() calls into for each backend
that reicast supports.

Please note that this commit just implements the basic audio backend
system - no backends have been ported to the new API yet. For the meantime,
reicast will run without any audio support accross all systems.
2015-06-27 20:41:49 +02:00
..
arm_emitter Merge remote-tracking branch 'remotes/origin/skmp/ios-wip' into feat/segfault-context-consolidation 2015-05-16 07:12:19 +02:00
cfg reios: Add support for elf booting 2015-03-22 01:30:19 +01:00
deps Merge remote-tracking branch 'remotes/origin/skmp/ios-wip' into feat/segfault-context-consolidation 2015-05-16 07:12:19 +02:00
emitter linux: Sh4 dynarec works 2015-05-08 18:59:20 +02:00
hw too many arguments to function 'void armv_end(void*)' 2015-05-23 12:25:14 -04:00
imgread http support for cdi & gdi, updated based gdipsr 2015-01-09 15:50:07 +01:00
khronos Linux GLX/3.1 support 2014-12-30 13:21:05 +02:00
linux Linux: fix building 2015-05-16 11:23:31 +03:00
linux-dist Implement audio backend system 2015-06-27 20:41:49 +02:00
nacl Moving code around, cleanups 2013-12-28 22:20:08 +01:00
oslib Implement audio backend system 2015-06-27 20:41:49 +02:00
profiler Support HOST_NO_REC for windows 2014-12-11 13:59:31 +01:00
rec-ARM iOS fixes 2015-05-16 01:04:30 -07:00
rec-x86 *nix: move context massaging to linux/context.cpp, ALIGN -> DECL_ALIGN 2015-05-16 03:06:04 +02:00
reios reios: Add support for elf booting 2015-03-22 01:30:19 +01:00
rend Merge remote-tracking branch 'remotes/origin/skmp/ios-wip' into feat/segfault-context-consolidation 2015-05-16 07:12:19 +02:00
sdl Implement audio backend system 2015-06-27 20:41:49 +02:00
webui Echo state on websocket, hack abit the nacl makefile 2014-08-18 21:54:30 +02:00
windows Rename audiostream_rif.h to audiostream.h 2015-06-27 20:40:19 +02:00
README.md Moving code around, cleanups 2013-12-28 22:20:08 +01:00
build.h Merge master 2015-05-08 17:29:06 +02:00
core.mk Merge remote-tracking branch 'origin/master' into skmp/linux86 2015-05-08 17:29:14 +02:00
nullDC.cpp iOS fixes 2015-05-16 01:04:30 -07:00
stdclass.cpp Moving code around, cleanups 2013-12-28 22:20:08 +01:00
stdclass.h Updating from linux/x64 2015-05-08 17:49:23 +02:00
types.h Fix compile on OSX by defining os_DebugBreak 2015-05-23 12:25:22 -04:00

README.md

newdc

The core of the emulator