Audio Renderer Changer (1 Viewer)

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
Re: AW: Audio Renderer Changer

But why do you use the same renderer?
ARC is not implemented to change to the same renderer! You have to change from HDMI to SPDIF directly. How do you change the default direct sound device by remote?

If I take shortcut from start menu (SAF 6.00 - FFDShow - Audio Decoder Configuration) And click in the dialog on "Export all Settings" I only get audio regekys in there?!?

Because I'm only using analog output, so I'm not using HDMI or SPDIF.

Using ARC, I seem to be able to set Default DirectSound Device on two separate lines and switch between them, although obviously without also switching the ffdshow settings with the regkey I can't tell if it's actually doing anything much. I guess perhaps I could instead try with one line set to Default Directsound Device and the other set to Directsound: Realtek Speakers if having them both set to the same thing won't work.

I'm exporting from ffdshow the same way as you, but I seem to get video settings as well, as you can see in the attached file (I've had to rename it to .txt to upload it).
 

Attachments

  • ffdshow.txt
    280.2 KB

Thor2605

MP Donator
  • Premium Supporter
  • April 2, 2009
    1,640
    184
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    So please try if it works with the two line setting with different renderers!

    I now tried with video and audio settings in one regkey. On my HTPC this works without any problems.


    If you import the regkeys manually (by double clicking on it) and look in your ffdshow settings is there all ok?
     

    lulsam

    Portal Pro
    December 28, 2006
    116
    6
    Home Country
    Spain Spain
    Re: AW: Audio Renderer Changer

    @lulsam:
    Do you have the newest version of ARC?
    Do you have BASS-enginge activated in MePo?

    The keyboard shortcuts are directly activated. So don't configure the keyboard shortcut to a action in MePo config! These settings are either keyboard or action (for MCE).
    If you configure it then you have two actions: One from keyboard and then one from MePo-action!

    I continued testing (both with Default skin and Streamed MP) with the following results (latest ARC and BASS activated):
    Regarding to render changes:
    - If I configured shift+k: "My TV" still works as expected, but "My videos" works with shift+k and also with k => Amazingly there is no keyboard shortcut configured to letter k in any section of keyboard or keys in MePo (i use the default keyboard shorcuts and I never changed). If I remember correclty this happens with default skin and with SMP skin so it shouldn't be something related to the skin. Anyway it is a minor glitch for me and I am not going to test it anymore so probably this will remain a mistery. :confused:
    - Letter j configured to "previous chapter" in BASS: It works perfectly, last time I reported wrongly that it didn't work but I made a mistake by confussing letter "i" and "j" in the configuration :oops: My tired eyes, you know....
    Regarding the OSD:
    - Inside Videos works fine with default skin and SMP.
    - Inside TV works fine with default skin but SMP shows the program info instead of the ARC OSD. Probably a shortcut or something is configured into SMP skin that it is triggered by your code.
    - Inside My music: No OSD regardless the skin tested (anyway the renderer is changed correctly).
    Regarding the MCE remote:
    Now it is working, although it took me some time. I assigned the NEXT_BOOKMARK action to the yellow button and it didn't work (well it worked but not in full screen, but I realized that later) until I noticed that there were an action assigned to the condition "full screen" so I deleted that condition (I really don't need it) and voilá, it works. Then I assigned PREV_BOOKMARK to the Teletext button (I have blue button assigned to Mediatip plugin as well as red and green buttons to MePo default actions) and of course it works..

    IMHO the OSD funtionality of ARC is elegant but probably it would be better to have an overlapped window like in Mediatip and other plugins. I understand this means to move the plugin from process to window and involves a big effort, but probably it is a worthy effort.
    I think it would be also a good idea to provide "native" support to some remotes like MCE. I think Anthrax offers you help with the coding for MCE and probably others may help you with this (it requires to have the remotes at least to test it).

    I gonna continue testing ARC with the reg keys and report back. Great job Thor, now I am able to change from TV to HIFI with my remote :D
     

    Kernel.32

    Portal Pro
    July 27, 2009
    93
    3
    Home Country
    Italy Italy
    Re: AW: Audio Renderer Changer

    @kernel.32
    Please try to switch without regekys for testing. There please make sure to set ffdshow to stereo!

    I've setted NO regkeys. With other letters it works with no problems, so there's some sort of problem with keys recognition.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Re: AW: Audio Renderer Changer

    So please try if it works with the two line setting with different renderers!

    I now tried with video and audio settings in one regkey. On my HTPC this works without any problems.


    If you import the regkeys manually (by double clicking on it) and look in your ffdshow settings is there all ok?

    If I try with no regkeys, with one line set to Default Directsound Device and the other set to Directsound: Speakers (Realtek), then I get picture but no sound with either. Checking in Graphstudio shows that the audio isn't connected:



    If I then try adding the same regkey (mix to stereo) to both lines, then MP gets stuck on the EPG when trying to start TV and I have to kill it with Taskmanager. Checking in Graphstudio shows that the media is playing, but the audio line is not connected and ffdshow isn't part of the graph:



    The same thing happens if I use two different regkeys in ARC.

    I tried manually importing the regkeys (when MP isn't running) and ffdshow does change profile (mix to stereo, mix to quad) depending on which one I import.

    EDIT: Further testing has shown that MP doesn't work when I set Audio Renderer to Directsound: Speakers (Realtek) even without using ARC https://forum.team-mediaportal.com/...renderer-directsound-speakers-realtek-102228/

    If I set both lines in ARC to Default Directsound Device (with regkeys), when I try to switch it breaks the graph, leaving ffdshow not connected to the renderer. I have to stop TV and select the channel again to restart it to get sound back.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    Hey Thor2605,

    a real great plugin! This is the one i missed the most.. ;) got few minutes to say sth.

    unfortunately, not all things are working as expected...
    • regkeys
      If I use this option, ARC is cancelling at "starting regedit..." it just stops working there, video is paused. When I do pause and play again, sound is missing. If i use ARC again, it also stops at "starting regedit...", video is paused. -> press pause and then play, video without sound. graphedit is showing everythin gin place, it also do switch between the renderers, without playing sound...
    • MPC-MPA Filter
      if using the MPC-MPA Filter for Audio it logs, that the input PIN could not be found (before removing the filter from graph and readding). But it doesn't cancel. the logs go thrugh till "end". using MS DVD-Audio codec, it removes and reattaches everything fine.

    anyway, this is a great plugin! (i have a little hack for the registry -> button in homescreen editting the reg and firing ARC, so it's doing the job ;) )

    sry for not adding logs, but they are far away... :sorry:
     

    Thor2605

    MP Donator
  • Premium Supporter
  • April 2, 2009
    1,640
    184
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    Hi,

    If you talk about logs... Do you use the actual version?!? Since (I think it was) 0.5 there are no logs anymore, because the don't give you any hint.

    I only tested ARC with ffdshow, AC3Filter and LAV and there it worked for me!
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    i downloaded it yesterday from the plugin section... 0.8.3?!

    it creates an AudioRenderChanger.xml and an AudioRenderChanger.log (and .bak ;) )
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I wonder if there's a way to use ARC to just switch the speaker config in Realtek HD Manager?

    That has a dropdown that lets me select Stereo, Quad or 5.1 and with 5.1 there's tickboxes to enable/disable the various speakers (these are remembered when switching to Stereo/Quad and back to 5.1), so if there was a way to use ARC to control this, I could just forget about trying to switch profiles with ffdshow.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Some good news :)

    I've got a new motherboard (MSI 990FXA-GD80) with Realtek ALC892, so I don't know if that's got anything to do with it, but I can use ARC to switch between Default DirectSound and Directsound: Speakers now. I also tested switching to Default Waveout and that works too, but obviously there's a bit of a volume difference that way, so Directsound is better. I'm also using Sebastii's CC Patch, v0084 part DWM and noStopMod TsReader, so maybe one of those has helped.

    It still goes haywire if I try and switch between two instances of Default Directsound with different ffdshow reg keys, as you can see from the first three images, but that doesn't matter as I don't need to do that now.

    I'm hoping I can get this working on my old motherboard now, as I'm building an HTPC with that for my brother and if I can setup ARC to switch between the three profiles he'lll need (stereo to speakers 1+2 & 3+4, Stereo to 3+4 & Center to 1+2, 5.1/7.1 to five speakers) then I won't have the hassle of building him a manual switch box as I was planning.
     

    Users who are viewing this thread

    Top Bottom