nullptr
Explore posts from serversartifacted playback using `NAudio` with multiple raw pcm streams
hello there! i'm trying to implement voice chat into a custom discord library i'm writing. everything works great but the sound quality dips heavily if 2 or more users are speaking at once. you can see my player class below:
there is only one
NAudioPlayer
initialized for the entire voice session, but it uses ssrcs sent by discord's voice gateway and udp servers to split them into different streams and mix them together. however, this mixing seems to do absolutely nothing; it sounds exactly the same if i just add samples to the same wave provider for every user. what am i doing wrong?1 replies
how can i speed up this transparent image rendering in winforms?
hello! i'll be frank; i found this code on Stack Overflow and it goes far over my head, i just need a way to layer transparent images. this is the code:
i seriously don't understand what its doing, nor why it's so slow, nor why this works but the regular PictureBox doesn't with layered transparent images. there are only a few of them on the form..
24 replies
RReactiflux
•Created by nullptr on 9/17/2023 in #react-forum
hot-reload for class-based windowing system
hi! i'm working on a proof-of-concept windowing system in react. you can see the current dev build at https://nota-robot.com. the window system is class based, with a
WindowManager
class managing the windows and a Window
class which acts as a singular window. it works based off ids, and you create windows like so:
however, the component passed to it doesn't hot-reload like the rest of the page does. i need changes to propogate from the component to the actual site so that i can quickly block out designs without closing and re-opening windows. why might it not be hot reloading? i'm using vite and tsx2 replies