Is it possible use SDL audio with out ALSA or OSS?

hi all:
I’m newbie in SDL, and now I’m thinking about porting SDL to my
embedded system.
Is it possible use SDL audio with out ALSA or OSS? The audio module in
my system is very sample, I don’t want import ALSA or OSS to my system,
It seems a little heave for it. Is it possible I write a sample
interface to feed SDL instead of ALSA or OSS. Are there such example?
Any suggestion will be greatly appreciated.

hi all:
I’m newbie in SDL, and now I’m thinking about porting SDL to my
embedded system.
Is it possible use SDL audio with out ALSA or OSS? The audio module in
my system is very sample, I don’t want import ALSA or OSS to my system,
It seems a little heave for it. Is it possible I write a sample
interface to feed SDL instead of ALSA or OSS. Are there such example?
Any suggestion will be greatly appreciated.

Sure, you can write any interface you want. Take a look at
src/audio/disk/SDL_diskaudio.c for an example of a simple implementation.

See ya,
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

hi Sam:
That’s great, Thanks very much.On Sat, 2009-01-03 at 18:00 -0800, Sam Lantinga wrote:

hi all:
I’m newbie in SDL, and now I’m thinking about porting SDL to my
embedded system.
Is it possible use SDL audio with out ALSA or OSS? The audio module in
my system is very sample, I don’t want import ALSA or OSS to my system,
It seems a little heave for it. Is it possible I write a sample
interface to feed SDL instead of ALSA or OSS. Are there such example?
Any suggestion will be greatly appreciated.

Sure, you can write any interface you want. Take a look at
src/audio/disk/SDL_diskaudio.c for an example of a simple implementation.

See ya,
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

hi Sam:
That’s great, Thanks very much.

You’re welcome! :slight_smile:

See ya,
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC