SDL / mixer merge?

Hi,

A few weeks ago, there was a thread about changing library names and

merging mixer into SDL. Do you (I guess that would be Sam) still intend to
integrate the two?

Curious,
	Hakan-- 

Hakan Tandogan hakan at iconsult.com

A few weeks ago, there was a thread about changing library names and
merging mixer into SDL. Do you (I guess that would be Sam) still intend to
integrate the two?

Actually, I kinda started that thread, at least recently. I don’t use the
mixer yet, but I’d sure like to see SDLnet and TTFlib integrated into SDL.
Loading of PNG’s would be a third feature that would be useful as well.
It would just simplify installation on many platforms. We could just
require “SDL”.

I get the impression Sam wants to rename libs, but is not interested in
merging them with SDL.

Maybe I should download and look at 1.1 before I talk though, it’s not
beyond reason that our continued pestering convinced him… :)–
Brian

A few weeks ago, there was a thread about changing library names and
merging mixer into SDL. Do you (I guess that would be Sam) still intend to
integrate the two?

Actually, I kinda started that thread, at least recently. I don’t use the
mixer yet, but I’d sure like to see SDLnet and TTFlib integrated into SDL.
Loading of PNG’s would be a third feature that would be useful as well.
It would just simplify installation on many platforms. We could just
require “SDL”.

I get the impression Sam wants to rename libs, but is not interested in
merging them with SDL.

That’s correct.

Maybe I should download and look at 1.1 before I talk though, it’s not
beyond reason that our continued pestering convinced him… :slight_smile:

Heheh. I want to rename the libs to match the SDL naming convention,
but they are beyond the scope of the core SDL, and as such should be
distributed separately. I’m in the middle of CivCTP 1.2 patch release,
so it will be a few days before the renaming is complete.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

A few weeks ago, there was a thread about changing library names and
merging mixer into SDL. Do you (I guess that would be Sam) still intend to
integrate the two?

Actually, I kinda started that thread, at least recently. I don’t use the
mixer yet, but I’d sure like to see SDLnet and TTFlib integrated into SDL.
Loading of PNG’s would be a third feature that would be useful as well.
It would just simplify installation on many platforms. We could just
require “SDL”.

I get the impression Sam wants to rename libs, but is not interested in
merging them with SDL.

Yes… I asked about mixer being merged months ago. Sam’s response was
that mixer is too high-level. It makes sense. It IS kind of annoying
to require so much stuff, but one day, it’ll all be in every Linux
distro., I’m sure. :wink:

As for PNG, however, I think it’s a way better format to support than BMP.
BMP doesn’t have alpha support (right?) Also, I’m not sure as to the
openness of the BMP format and compression methods, but PNG is, without
a doubt, very open. :slight_smile:

-bill!

I get the impression Sam wants to rename libs, but is not interested in
merging them with SDL.

Yes… I asked about mixer being merged months ago. Sam’s response was
that mixer is too high-level. It makes sense. It IS kind of annoying
to require so much stuff, but one day, it’ll all be in every Linux
distro., I’m sure. :wink:

Yup, thats the right time-frame. But we can stop pestering him now.

BTW. This problem is not solved by merely integrating IMGlib, Mixer,
SDLnet, etc into linux. SDL is platform portable, thats exactly
why I chose SDL for my game. I need the components on all platforms SDL
runs on.

As for PNG, however, I think it’s a way better format to support than BMP.
BMP doesn’t have alpha support (right?) Also, I’m not sure as to the
openness of the BMP format and compression methods, but PNG is, without
a doubt, very open. :slight_smile:

BMP compression? I’ve never heard of such a thing. :slight_smile:
However, I do agree with your thoughts here on supporting PNG over BMP.
Thats easy for you and I to say though, we are creating new games. Sam
and Loki are porting games from windows. Thats where supporting the .bmp
format is a necessity.

As far as openness, the GIF format is the only one to be concerned with
that I know of. It’s that stinking LZW compression that is patented. But
thats entirely ok, because PNG has better compression anyway.–
Brian

Thats easy for you and I to say though, we are creating new games. Sam
and Loki are porting games from windows. Thats where supporting the .bmp
format is a necessity.

Actually, we almost never use the BMP loading code. I just chose BMP as
the single “native” format for SDL since almost all image editors can read
and write them. The IMGlib library (soon to be renamed) does support PNG,
if you have the PNG and Zlib libraries installed.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

BMP compression?

I’m pretty sure it does RLE. Anything else?

-bill!

William Kendrick wrote:

Yes… I asked about mixer being merged months ago. Sam’s response was
that mixer is too high-level. It makes sense.

While I understand with that decision for SDL as it is now, I wonder whether if
will still be possible to keep it that way if SDL supports 3D positioning. If
you want to use the soundcard’s DSP for this, you probably have to include a
mixer. You need drivers for your soundcard that have this ability first, of
course. AFAIK DirectSound3D supports this, but OSS or ALSA do not).

bye…

William Kendrick wrote:

Yes… I asked about mixer being merged months ago. Sam’s response was
that mixer is too high-level. It makes sense.

While I understand with that decision for SDL as it is now, I wonder whether if
will still be possible to keep it that way if SDL supports 3D positioning. If
you want to use the soundcard’s DSP for this, you probably have to include a
mixer. You need drivers for your soundcard that have this ability first, of
course. AFAIK DirectSound3D supports this, but OSS or ALSA do not).

That’s true. I’ll have more to say about this later. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec