Unable to initialize DirectSoundCapture

I haven’t encountered this problem until recently, but whenever I play garrysmod and try to use voice communication nothing happens. My name and avatar don’t appear near the lower right corner, and there is no sound. I recently started using HLDJ, but that was weeks ago and the problem has started since then. I unbound my voice communication key then re-binded it but this didn’t work. voice_allow 1 and sv_allowvoice 1 or whatever the commands were don’t seem to work either. I have a mic but I haven’t used it in a while, so I don’t know if that is related to the problem. Please help.

bump

bump. help me, dammit.