Page 1 of 1

Audio progrmming standards

Posted: Tue May 17, 2005 2:19 pm
by adv420r
I wonder if where is some standars for audio like where is
for video (VESA) on PC or maby some harware standard like
soundbalster compatible.

Re:Audio progrmming standards

Posted: Tue May 17, 2005 11:19 pm
by AR
I just discovered this which may be on interest:
http://www.ctyme.com/intr/int-10.htm [Int 10/AX=4F13h/BX=0000h]
(VESA apparently includes a sound API)

Re:Audio progrmming standards

Posted: Wed May 18, 2005 12:59 am
by ineo
Most modern chips (>2000) are AC97 compliant... but that's really a minimum.
If you intend to write an audio driver, you should probably write that one since most card support it.

http://www.sandpile.org/docs/intel/ac97.htm

This will only give you the bare minimum of your sound card: no hardware mixing, no advanced dsp use...

However this is not so bad since most cards don't do more. Developper (game, audio) use to do audio processing on CPU since their is no real good sound card open standard.

Audio cards is a monopoly of Creative.

Re:Audio progrmming standards

Posted: Wed May 18, 2005 11:07 am
by Dex4u
I have written some basic sound drivers for for "Dex4u" including AC97 and FM801, the AC97 is based around a a sort of standard, but setting up and address etc, is differant on some cards, so a AC97 drive that works on one card may not work on another.

Re:Audio progrmming standards

Posted: Wed May 18, 2005 1:22 pm
by ineo
Yes, AC97 card setup may be different, but programming interface and features are the same. It's interesting if you plan to support some kind of unified sound system since you can target this as the lowest hardware...

It is a good soundblaster replacement, but it is still very limited.

Re:Audio progrmming standards

Posted: Tue May 31, 2005 12:24 pm
by HÃ¥kan Ahlberg
Thanks for your information this is a good start I am working on
a programing language and I have plans to put functions/commands
so you can play sounds.
If you are interested so have I a hompage for my language at
http://hem.bredband.net/b409626

Kind regards
H?kan Ahlberg

Re:Audio progrmming standards

Posted: Wed Jun 01, 2005 3:00 pm
by mystran
Notice that while some card might be AC97, it might not support things like sane sampling rates (I have an integrated audio on one board that only ever does 48khz and nothing else).