Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audiocast M5 doesn't play any sound #60

Open
trueTrueman opened this issue May 5, 2022 · 9 comments
Open

Audiocast M5 doesn't play any sound #60

trueTrueman opened this issue May 5, 2022 · 9 comments

Comments

@trueTrueman
Copy link

Hi, Audiocast successfully connects with swyh-rs and I can see in a mobile app that it indeed streams "swyh-rs", but there's no any sound coming. I can cast audio from my iPhone to Audiocast with no problem, but with swyh-rs it's silent for some reason. Is there anything I can do?
WAV Header is enabled.

@dheijl
Copy link
Owner

dheijl commented May 5, 2022

Can it be a problem with the volume of the captured device? Like in this issue ?

@trueTrueman
Copy link
Author

trueTrueman commented May 5, 2022

Can it be a problem with the volume of the captured device? Like in this issue ?

I thought about it but the volume levels in tray, Control Panel and the music player are all at maximum/100%.
Is there some other volume setting?
P.s. maybe it's something to do with the fact that I'm on Windows 7x64?

@dheijl
Copy link
Owner

dheijl commented May 5, 2022

Can you attach a debug log of a streaming attempt here?

@trueTrueman
Copy link
Author

trueTrueman commented May 5, 2022

Can you attach a debug log of a streaming attempt here?

Configuration { server_port: Some(5901), auto_resume: false, sound_source: "Speakers (Realtek High Definition Audio)", log_level: Info, ssdp_interval_mins: 1.0, auto_reconnect: false, disable_chunked: false, use_wave_format: true, bits_per_sample: Some(16), monitor_rms: false, last_renderer: "AudioCast AudioCast", last_network: "172.16.0.77", config_dir: "C:\Users\LoL\.swyh-rs" }
Setup audio sources
Now running at ABOVE_NORMAL_PRIORITY_CLASS
Capturing audio from: Speakers (Realtek High Definition Audio)
Default audio SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
Discover networks
Starting SSDP discovery
The streaming server is listening on http://172.16.0.77:5901/stream/swyh.wav
Sample rate: 48000, sample format: audio/L16 (PCM)
AV Start playing on AudioCast host=172.16.0.48 port=49152 from 172.16.0.77 using AvTransport Play
AV Stop playing on AudioCast host=172.16.0.48 port=49152
Received request /stream/swyh.wav from 172.16.0.48:44511
Streaming audio/wave;codec=1 (WAV), input sample format F32, channels=2, rate=48000, disable chunked=false to 172.16.0.48:44511

@dheijl
Copy link
Owner

dheijl commented May 6, 2022

If you enable RMS monitoring you will see that no audio is being captured, so swyh-rs has to send silence.
If audio is being captured you will also get a line "the wave_reader is now receiving samples" in the log, and the rms monitor will show the left and right channel audio levels.
For some reason the audio being played on the PC is not being directed to your speakers, and you are capturing the sound from the speakers.
You can check this in the Windows sound mixer settings (but I don't remember if Windows 7 already has the sound mixer).

@trueTrueman
Copy link
Author

Don't know if it helps but in the Volume Mixer it shows that the Speakers play sound, that's both the default Playback device in the Control Panel and the device selected in swyh-rs of course (I reselected it several times just in case). I also tried to change the default Playback device to a different sound card and select it in swyh-rs, but it was silent again.

I don't see a line "the wave_reader is now receiving samples" in the log.

Here are several screenshots showing sound levels, including the Stereo Mix (recording device), and the swyh-rs window in case it helps.
Screenshot_68
Screenshot_71
Screenshot_69
Screenshot_70

@dheijl
Copy link
Owner

dheijl commented May 6, 2022

WasApi is not picking up the sound being played.
Do you by any chance also have headphones plugged in and enabled? This can prevent WasApi audio capture (having 2 active audio outputs).

@trueTrueman
Copy link
Author

WasApi is not picking up the sound being played. Do you by any chance also have headphones plugged in and enabled? This can prevent WasApi audio capture (having 2 active audio outputs).

No, I don't have headphones plugged in.

@dheijl
Copy link
Owner

dheijl commented May 6, 2022

VB-Audio Hi-Fi Cable should solve your problem if properly configured.
Unfortunately I don't have Windows 7 or an Audiocast to reproduce and debug your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants