Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th August 2018, 20:43   #1  |  Link
zlorf
Registered User
 
Join Date: Aug 2018
Posts: 4
Automatically detect number of available audio channels

Hi,

I'm using mpc hc + lav splitter and ffdshow or lav audio decoder (I can easily switch them).

PC has two audio outputs:
1) stereo speakers for daily activities;
2) yamaha receiver + beam projector for home cinema (5.1) via hdmi cable
I can switch audio output using built-in Windows 7 audio dialog (changing default playback device)

The problem I'm facing is that player/LAV doesn't detect currently selected playback device and number of available channels. So that when I'm playing some 5.1 content on stereo speakers, the center channel is muted.
I can of couse go to LAV audio decoder -> Mixing -> Enable mixing + stereo, this way I can hear sound properly on stereo speakers, but then I need to uncheck "enable mixing" every time I switch to 5.1 setup and it's cumbersome.

So, is there a way to tell player/LAV/ffdshow "hey man, look at the system settings and find out how many audio channels are available, then use this knowledge to automix"?
zlorf is offline   Reply With Quote
Old 19th August 2018, 22:46   #2  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 6,646
what audio renderer hare you using?

windows is can do on it's own. you usually have to to nothing.
huhn is offline   Reply With Quote
Old 20th August 2018, 15:18   #3  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,145
Control Panel > Sounds > Speakers > Configure > select Stereo
clsid is offline   Reply With Quote
Old 20th August 2018, 19:59   #4  |  Link
zlorf
Registered User
 
Join Date: Aug 2018
Posts: 4
@huhn
As I've written, I'm currently using LAV audio decoder, but previously I've tried ffdshow aduio as well (and the same problem).

@clsid
Yeah I've done that (Moreover, I've configured yamaha receiver to be 5.1 (in the same way via control panel)). The problem is that player + LAV still tries to output 5.1 content on these stereo speakers, effectively dropping center channel out.
zlorf is offline   Reply With Quote
Old 20th August 2018, 21:06   #5  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,145
It should not matter what the decoders are outputting. The Windows mixer is supposed to downmix it to stereo. The driver may be at fault.
clsid is offline   Reply With Quote
Old 21st August 2018, 07:54   #6  |  Link
zlorf
Registered User
 
Join Date: Aug 2018
Posts: 4
Ah, that may be the cause! I've recently updated audio drivers (realtek). I will take a look.
zlorf is offline   Reply With Quote
Old 28th August 2018, 07:54   #7  |  Link
zlorf
Registered User
 
Join Date: Aug 2018
Posts: 4
@clsid Thanks, that was the right idea. After reinstalling audio drivers everything works as expected.
zlorf is offline   Reply With Quote
Reply

Tags
channels, player

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.