Search found 82 matches

by Tomdev
Fri Jul 24, 2009 6:18 pm
Forum: DS/DSi Development
Topic: I can't build anything
Replies: 2
Views: 1757

Re: I can't build anything

go to the devkitpro sourceforge page and download devkitARM manually. extract it in the devkitPro folder
by Tomdev
Thu Jul 16, 2009 5:55 pm
Forum: DS/DSi Development
Topic: convert sprites with grit but don't remove them after make
Replies: 1
Views: 3790

convert sprites with grit but don't remove them after make

ok I was editing a example makefile(from the nds sprite examples) to convert the png files into sprites, that were binary files(not .s files) and that they wouldn't be removed after i build the program. also i want that they will not be included in the rom, because i load the files from fat. I alrea...
by Tomdev
Fri Jun 26, 2009 7:32 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

tested it with some other samples, i'm just almost there! still the same effect but the sampples ARE recognisable(the effect is like this: part good sound, part nothing/bit noise and so on until end of file). i'll pm you my main, maybe you can see whatś wrong :P for other the rom, to hear the effect...
by Tomdev
Fri Jun 26, 2009 7:11 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

yay it works now! but.. for a half :cry: , there are some parts with some noise, what i did was this:

change the wile in mm_word on_stream_request to if, i can explain it but it wasn't very logic to me
by Tomdev
Fri Jun 26, 2009 6:50 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

i call it every vbl, is this wrong :oops: or this one(this is the problem i think)?

sys.samp_count = 0;

if thatś the problem, i can solve it so easy 8)
by Tomdev
Fri Jun 26, 2009 6:31 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

ok, it compiled fine, and the begin was good, i heard so yay! :lol: but it keeped repeating, what could be wrong? maybe this:

mystream.buffer_length = 4096; should it be the lengt of the whole OGG file? i don think so or am i wrong
by Tomdev
Fri Jun 26, 2009 6:05 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

thanks, i'm coding it now. will post the result :P
by Tomdev
Fri Jun 26, 2009 5:57 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

but the data is 2 channels, that's stereo isn't it(or am i the worst coder at sound?)

and yes ogg decoding could be very heavy, but i've already chosen the low memory and fixed point decoder, so I could not make it less heavier, could i?
by Tomdev
Fri Jun 26, 2009 3:13 pm
Forum: maxmod
Topic: stream sound[solved]
Replies: 26
Views: 70842

Re: streaming audio

i'm very bad at sound, but what i do is decoding an ogg vorbis file. i've compiled tremor(the fixed point version) and i can decode. so for now i've this function: void Update_OGG_Stream(u8 channels, OggVorbis_File * vf, void * buffer){ readed = 0;// we hebben immers nog niks gelezen in deze update ...