Arts support

SDL_artsaudio is corrupt (there’s a message header :slight_smile:
in the CVS I downloaded about 5 minutes ago (~11:15 PST)
…
ARTS_P_PACKET_SETTINGS is undefined… am trying to figure out was meant
by that… (what version of arts is being used?)
got it… it’s in the CVS that hasn’t been installed in mandrake-7.1…
hrm.

fix: (line 226 SDL_artsaudio.c) I think anyways…
I wonder if there’s a way for detecting “arts” version? (oh of course :slight_smile:
artsc-config --version
0.9.5

#if 0
arts_stream_set((void *)audio_fd, ARTS_P_PACKET_SETTINGS, frag_spec);
#else
arts_stream_set((void *)audio_fd, ARTS_P_PACKET_SIZE, frag_spec&0xffff);
arts_stream_set((void *)audio_fd, ARTS_P_PACKET_COUNT, frag_spec>>16);
#endif

I’ve tested this and umm… seems to work fine :slight_smile:
loopwave sample.wav works with artsd loaded
(and artsdplay on another wave file simultaneously)

G’day, eh? :slight_smile:
- Teunis–
Teunis of Northurrokheim, of the Free Company of Northurrok
Humbly Proud Member of the Musketeers of m’lady Ovidia of Vingaard.

Member in purple standing of the Mad Poet’s Society.
Trying to bring truth from beauty is Winterlion.
find at this winterlions’ page

SDL_artsaudio is corrupt (there’s a message header :slight_smile:
in the CVS I downloaded about 5 minutes ago (~11:15 PST)
…
ARTS_P_PACKET_SETTINGS is undefined… am trying to figure out was meant
by that… (what version of arts is being used?)
got it… it’s in the CVS that hasn’t been installed in mandrake-7.1…
hrm.

fix: (line 226 SDL_artsaudio.c) I think anyways…

Thanks! I’ve applied your fixes to CVS.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software