If you are OK using OS specific functions, then you can use _msize (MSVC), malloc_usable_size (Li…
Ray —
After almost one years since latest raylib installment, here it is raylib 2.5. A lot of work has …
makes sense although couldn't we just use queryperformancecounter to figure out when it plays 0.5…
If you are OK using OS specific functions, then you can use _msize (MSVC), malloc_usable_size (Li…
You ask malloc for an amount of memory, so you already know the size.
Having said that, malloc w…
C_Worm —
Hello i was wondering if it is possible to get the size of some dynamicaly allocated memory like …
HFKlorenisn't it true that if DSound plays 0.5seconds of sound then we can calculate how many sam…
that was an amazing explanation. you've seriously helped me a ton in my understanding of this. i …
I wouldn't call the write and play cursor inaccurate. They report a value that is correct. It's m…
I'm not using C++ much but at some point I used "defered statements": defining some code that wil…
AlexKindelWould any language's built-in RAII mechanism give me a close equivalent of what I'm doi…
hmmm i'll try my best to explain the crux of the problem.
in DSound we get skips in the sound un…
I have a hard time understanding exactly what you mean in you explanations (I didn't recently wat…
A simple way would be to have a single place in your application loop where you would always de-c…
Chris —
I mentioned in the pre-stream of episode 536 that my macOS platform layer crashes when building u…
thanks to you also mrmixer. really helpful answers.
Hi Guys,
I'm a little confused with Casey's discussion on Audio Sync on Day 19:
Now, from what…
I was in the process of typing up an explanation of what I meant by "there are other reasons...al…
It's patterns like this that make scope guards and RAII such a useful feature.
However the temp…
I'm working on a program that reserves two big blocks of virtual memory for use as stacks for thi…
HFKlorensure. that's what i was thinking just wanted to double check. also, i have another questi…
The only way to be sure is to ask him on the stream if you can.
But I guess he is just saying th…
sure. that's what i was thinking just wanted to double check. also, i have another question if yo…
C_Worm —
yes that was it, i actually solved by going through it again. but thanks anyway. owl of shame on …
I think you are missing the "lpwfxFormat" field of "dsSecondaryBufferDesc". You should set it the…
I may be wrong, but I think that it's called device independent because in the past it allowed yo…
In the Sleep msdn documentation:
1The system clock "ticks" at a constant rate. If dwMil…
C_Worm —
Hello!
im writing along at this episode (008 directsoud squarewave).
but i can't get the sound …