Mercurial > sdl-ios-xcode
comparison src/audio/SDL_audio.c @ 2947:fec0db6c44b7
Date: Thu, 01 Jan 2009 21:32:12 +0100
From: Couriersud
Subject: Fusionsound audio driver
attached is a diff containing a audio driver for the FusionSound
library. This sound library is closely related to DirectFB and uses the
same transport (fusion) as DirectFB when running applications "remote",
i.e. over the network. As such, it natively redirects sound where
DirectFB redirects video. This may be handy for everyone using SDL over
DirectFB.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 01 Jan 2009 21:34:22 +0000 |
parents | 1e431c2631ee |
children | d578ae900755 |
comparison
equal
deleted
inserted
replaced
2946:29e1f863a844 | 2947:fec0db6c44b7 |
---|---|
70 extern AudioBootStrap DUMMYAUD_bootstrap; | 70 extern AudioBootStrap DUMMYAUD_bootstrap; |
71 extern AudioBootStrap DCAUD_bootstrap; | 71 extern AudioBootStrap DCAUD_bootstrap; |
72 extern AudioBootStrap MMEAUDIO_bootstrap; | 72 extern AudioBootStrap MMEAUDIO_bootstrap; |
73 extern AudioBootStrap DART_bootstrap; | 73 extern AudioBootStrap DART_bootstrap; |
74 extern AudioBootStrap NDSAUD_bootstrap; | 74 extern AudioBootStrap NDSAUD_bootstrap; |
75 extern AudioBootStrap FUSIONSOUND_bootstrap; | |
75 | 76 |
76 | 77 |
77 /* Available audio drivers */ | 78 /* Available audio drivers */ |
78 static AudioBootStrap *bootstrap[] = { | 79 static AudioBootStrap *bootstrap[] = { |
79 #if SDL_AUDIO_DRIVER_BSD | 80 #if SDL_AUDIO_DRIVER_BSD |
150 #if SDL_AUDIO_DRIVER_DART | 151 #if SDL_AUDIO_DRIVER_DART |
151 &DART_bootstrap, | 152 &DART_bootstrap, |
152 #endif | 153 #endif |
153 #if SDL_AUDIO_DRIVER_NDS | 154 #if SDL_AUDIO_DRIVER_NDS |
154 &NDSAUD_bootstrap, | 155 &NDSAUD_bootstrap, |
156 #endif | |
157 #if SDL_AUDIO_DRIVER_FUSIONSOUND | |
158 &FUSIONSOUND_bootstrap, | |
155 #endif | 159 #endif |
156 NULL | 160 NULL |
157 }; | 161 }; |
158 | 162 |
159 static SDL_AudioDevice * | 163 static SDL_AudioDevice * |