gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Fast audio development

#153621 - doudou - Thu Apr 03, 2008 12:38 am

I would like to rapidely add some basic audio to my game demo but I don't have much time to spend on this. Is it possible to implement an audio system that plays a sound track + some sfx wavs in less than 10 hours given 0 knowlege of DS audio? Or even better: is there a free library?

It doesn't have to be a reliable solution for long term.

#153623 - silent_code - Thu Apr 03, 2008 1:06 am

yes, iirc, there are two libs promoted around this forum. one of them is called something similar to "multithreaded sound library"... search for it!

ok, i did a little search myself and i can't find that lib. but i've found the other one:
http://forum.gbadev.org/viewtopic.php?t=14617&highlight=multithreated+sound+library
... which after all is exactly the same, just the thread was renamed. ;^p

good luck and happy coding!

#155024 - doudou - Thu Apr 24, 2008 12:52 am

I downloaded it and when I build the sample, I the mp3 doesn't play like it does in the pre-built ASlib.nds file.

#155026 - Noda - Thu Apr 24, 2008 1:10 am

CUrrently this lib is uncompatible with latest libnds. If you want, send me a PM and I'll send you the fixed version. (I don't want to release it publicly for now since the next libnds will broke it due to IPC changes, so I'll wait to have a future proof version for release).

EDIT: your problem may be due a to simple not updated example . Just add in your arm7 main.c a AS_Init() (somthinhg like that) and that's it.