A little bird whispered in my ear that the wiki has a page about the REL format that Nintendo is using. It's just a stub, but it's accurate as far as I know.by henke37 - Coding
Well, if Nintendo can do it, why not us too?by henke37 - Coding
But who is responsible for the memory that the returned pointers point at? The caller? If so, how should it be deallocated?by henke37 - Coding
It is not a matter of having enough samples, it is a matter about having too many samples. You need to figure out an algorithm to reduce the amount of data that has to match.by henke37 - Coding
But is it signed or not? I think that it's not.by henke37 - Coding
Again, it's not the fault of stl. It just happened to be the victim. Something else set it up by corrupting the heap. Run the application in some memory manangerment checking environment and catch the real error. You are either freeing memory when you should not or overflowing a buffer.by henke37 - Coding
No, that was not what I was saying. I used an advanced form of communication called "sarcasm".by henke37 - Coding
Yeah, allocate even more memory, that's definitely going to fix the issue. I am sorry, but I can't find the issue.by henke37 - Coding
I wouldn't say that libwiigui is for advanced developers. If i had to rank the c++ libraries, I would say that libwiisprite is for the advanced people. But I would rather not rank them against each other, they are not designed to do the same job, and as such, it's not going to make much sense to compare them with each other.by henke37 - Coding
Technically, the wiimote has two microscopic accelerometers, both on the same die and thus, in the same chip. The nunchuck has a different chip, but I am still confident that it has a similar setup.by henke37 - Coding
No, that is not the issue at all. What I said is that something corrupted the heap. Corrupted as in, overwrote the internal management data that the heap manager needs in order to manage the memory the heap has allocated. If you corrupt the memory management data, you get random crashes like this.by henke37 - Coding
The heap got corrupted, it's not stl's fault. It's just a heavy heap user and thus a likely victim.by henke37 - Coding
If you have to double it, you are likely screwing up by treating stereo samples as mono samples.by henke37 - Coding
Quotecrazyrockby object code u mean, the executable right? Sorry, but no. I mean the object code before linking. It's not yet executable, since there are symbols that isn't bound yet.by henke37 - Coding
I thought that libasnd could do realtime pcm to pcm conversation for you? Maybe I was wrong in thinking that, I haven't tried to use it yet.by henke37 - Coding
Btw, the .a files are not just archives, they contain the output of the compilation, the object code. It's more or less useless for you to try and make sense of that.by henke37 - Coding
The warnings means that the headerfile likely is outdated.by henke37 - Coding
Wav can store that exact format btw. Or it might contain mp3 audio, it's just a container!by henke37 - Coding
Or if you are not happy with the simple pointer emulation, read the raw data and process it yourself.by henke37 - Coding
cc1: error: invalid option `rvl' means that you are using the wrong compiler, it doesn't have any idea what the command line option means.by henke37 - Coding
If I recall correctly, mikmod has a a design flaw where you can't access the decoded audio. Instead, it directly writes to the sound output api. However, there is no such code in mikmod for the Wii platform, so one way or another, you need to hack it up. But in the end, it will still have the issue of not being able to play more than one song at a time.by henke37 - Coding
That would be a linking error. You should generally keep the platform runtime library and libmath at the end of the linking list, since they are most likely to be used by other libraries.by henke37 - Coding
Just include the auto generated headerfile and get the right defentions for free.by henke37 - Coding
If you don't know what GX is, then you are clearly not the right person to try to not use it.by henke37 - Coding
Technically, it's ok to free null, there is no need to check for null yourself. The real issue is that it's supposed to be delete and not free when you got the memory with new. It's not allowed to mix them up. At least, the destructor will fail to run, possibly leaking further memory. And at worst, you just freed memory from the wrong heap, causing a crash sometime in the future.by henke37 - Coding
it's easy, you use the follwing syntax: obj arr[2]= { obj(1), obj(2) };by henke37 - Coding
You forgot rule number 1: this forum software is crap.by henke37 - Coding
Btw, about video playback, that is one thing that is ok to not use the GX api for, just dump the pixels onto the framebuffer instead.by henke37 - Coding
I wouldn't call that compile per see. But in any case, not that many advocate doing it like that if there is an alternative, like reading from a file instead.by henke37 - Coding