SamDel / ChromeCast-Desktop-Audio-Streamer

Stream the sound of your desktop to your Chromecast Audio device
MIT License
411 stars 30 forks source link

My computer speaker keeps going besides streaming #135

Open damitch300 opened 1 year ago

damitch300 commented 1 year ago

I put the option on for automatic mute/unmute desktop audio but it doesnt work

SamDel commented 1 year ago

Odd, it should work.

damitch300 commented 1 year ago

Standard Asus laptop speakers I tried rebooting There is no error And when i mute manually then all speakers end

SamDel commented 1 year ago

And when i mute manually then all speakers end

Including the Chromecast speaker? That's not how it's supposed to be. Capturing and streaming should continue when muted.

Windows 10 or Windows 11?

damitch300 commented 1 year ago

Windows 11

SamDel commented 1 year ago

Thanks I have no clue why it doesn't work for you. I'll try to do a test with Windows 11 later (never tried).

damitch300 commented 1 year ago

Thanks I have no clue why it doesn't work for you. I'll try to do a test with Windows 11 later (never tried).

Thanks !!!

SamDel commented 1 year ago

Just tried, automatic and manual mute/unmute work as expected... 🤔 I tried on Windows 11 with standard HP laptop speakers.

Vanav commented 6 months ago

I confirm this issue. If I enable "Auto-mute" or mute manually, then sound on remote device also stops (after buffer time). How can I disable PC sound?

Windows 11, recording device: "Speakers (Realtek(R) Audio)"

FA-Bubba commented 6 months ago

Here's how I do it: I plug in an external PC speaker, which disables the built-in PC speakers, then I turn the external speaker volume off.

SamDel commented 6 months ago

NAudio is used to capture sound. There's also an issue at NAudio about this now.

Answer there: "There can be different ways of "muting" speakers. One is to zero out all the samples in the stream. But other ways include turning volume control that is after the DAC. So it might be that this device has implemented muting differently from your other devices."

@FA-Bubba 's solution might be the best for you. Or cut the 3.5mm jack from an old headphone and plug that in your soundcard.