dheijl / swyh-rs

Stream What You Hear written in rust, inspired by SWYH.
MIT License
309 stars 14 forks source link

Sonos no sound #128

Open WadeLuoQ opened 2 months ago

WadeLuoQ commented 2 months ago

Hi dheijl,

I downloaded the 1.10.2 version, and I'm using the Sonos One stereo

I've attached my config (not sure if it helps)

According to the log, everything seems to work but the stereo has no sound at all

Can you please take a look?

Thank you very much!

config

dheijl commented 2 months ago

Have you tried u32max... and other streamsizes? Is your Sonos the latest firmware? If so, have you tried flac format?

dheijl commented 2 months ago

Also, can you enable the rms monitor so that you can verify that swyh-rs is actually capturing the system audio?

WadeLuoQ commented 2 months ago

Ya, I enabled rms earlier but I don't think it was capturing anything, I'll try change it to 32 later and let you know tmr Btw, the firmware is the latest version

Thank you for replying

On Thu, Apr 18, 2024, 01:39 dheijl @.***> wrote:

Also, can you enable the rms monitor so that you can verify that swyh-rs is actually capturing the system audio?

— Reply to this email directly, view it on GitHub https://github.com/dheijl/swyh-rs/issues/128#issuecomment-2061854226, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH4X5G7JQJ442NGH7AUZ4EDY52XTVAVCNFSM6AAAAABGLW7CYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRHA2TIMRSGY . You are receiving this because you authored the thread.Message ID: @.***>

dheijl commented 2 months ago

If RMS monitor doesn't show any activity than you're not capturing audio so there's nothing to stream to your Sonos.

WadeLuoQ commented 2 months ago

I've tried changing several configs, unfortunately, rms still doesn't capture anything

Sonos app on PC indicates it's unable to connect to the IP address

Here's how I tried to connect, copy the IP displayed on swyh and add it to the Sonos app as a radio station, is that correct?

On Thu, Apr 18, 2024, 03:58 dheijl @.***> wrote:

If RMS monitor doesn't show any activity than you're not capturing audio so there's nothing to stream to your Sonos.

— Reply to this email directly, view it on GitHub https://github.com/dheijl/swyh-rs/issues/128#issuecomment-2062110660, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH4X5G33DASAYMFB6YH22T3Y53H47AVCNFSM6AAAAABGLW7CYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSGEYTANRWGA . You are receiving this because you authored the thread.Message ID: @.***>

WadeLuoQ commented 2 months ago

btw, when I used the original swyh, the link ends with .mp3

I was wondering if it has something to do with this, because I read your readme file, your rs version does not support mp3 format

dheijl @.***> 於 2024年4月18日週四 上午3:58寫道:

If RMS monitor doesn't show any activity than you're not capturing audio so there's nothing to stream to your Sonos.

— Reply to this email directly, view it on GitHub https://github.com/dheijl/swyh-rs/issues/128#issuecomment-2062110660, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH4X5G33DASAYMFB6YH22T3Y53H47AVCNFSM6AAAAABGLW7CYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSGEYTANRWGA . You are receiving this because you authored the thread.Message ID: @.***>

-- United We Rise

dheijl commented 2 months ago

You're barking up the wrong tree. It's useless trying to stream or changing the config until you have found out why the audio isn't captured. The Readme could provide some clues, and I would start with checking the Windows Sound Mixer. When the RMS monitor shows audio activity is when you can start to try the streaming.

WadeLuoQ commented 2 months ago

I see, thank you for pointing that out, I'll try to figure it out later

dheijl @.***> 於 2024年4月18日週四 下午2:11寫道:

You're barking up the wrong tree. It's useless trying to stream or changing the config until you have found out why the audio isn't captured. The Readme could provide some clues, and I would start with checking the Windows Sound Mixer. When the RMS monitor shows audio activity is when you can start to try the streaming.

— Reply to this email directly, view it on GitHub https://github.com/dheijl/swyh-rs/issues/128#issuecomment-2063075258, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH4X5GZMTD4LKKYZT44KCYDY55P2XAVCNFSM6AAAAABGLW7CYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRTGA3TKMRVHA . You are receiving this because you authored the thread.Message ID: @.***>

-- United We Rise

konyong commented 1 month ago

i wonder why your audio source not from virtual cable like in the readme.