Now this could just be that it happened only once and won't happen again. But I asked chat GPT this question:
write a program to write a continuous sine wave into a directsound soundbuffer and play it
It included dsound twice, then hung. That cursor at the bottom has been blinking for minutes now. I don't think its going to do anything next.
For more enjoyment, note that Casey Muratori has some very interesting things to say about const
. Then look at all those const
's
https://twitter.com/cmuratori/status/381303477260914688
P.S. I feel Brian Sharp will be much happier with Rust, which places so many more restrictions for the reasons that he is pointing out. And if I really wanted to not have these variables modifiable, why won't I just use a #define
?
when it's hung like that it usually means it's hitting the rate limiter and you can get more by asking it to "continue"
Yeah, it does continue. Whats more, its answer now has completely changed from before. Im not sure if this will work since there is no winmain, but otherwise this looks like it has a solid chance of working.