[solved] Audio switching bug in Mediaportal 1.12 (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    It should simply be:
    Code:
    GUIGraphicsContext.DeviceAudioConnected++;
    or
    Code:
    GUIGraphicsContext.DeviceAudioConnected--;

    ...not:
    Code:
    GUIGraphicsContext.DeviceAudioConnected = GUIGraphicsContext.DeviceAudioConnected++;
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    It should simply be:
    Code:
    GUIGraphicsContext.DeviceAudioConnected++;
    or
    Code:
    GUIGraphicsContext.DeviceAudioConnected--;

    ...not:
    Code:
    GUIGraphicsContext.DeviceAudioConnected = GUIGraphicsContext.DeviceAudioConnected++;

    Thanks :) i'm idiot, let's try.
    Ps : i think we can do the same for video device :)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    No audio with V3 fix and noticed an entry in the error.log as well so attached both :)
     
    Last edited:

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Is there any way to change the audio device inside MP? Sometimes I want to use analogue headset instead of hdmi audio.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Not that I know of but there's an application called Audio Switcher which lets you make key bindings and assign audio devices to certain applications:

    http://audioswit.ch/er

    Currently using that for gaming which is on the 2nd screen, when MePo starts it's set back to HDMI audio as the default.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    No audio with V3 fix and noticed an entry in the error.log as well so attached both :)

    Ok i have forget to add a dll :) so this is why it didn't i think.
    Will upload it asap :)
     

    Users who are viewing this thread

    Top Bottom