[MP1-4838] Volume control no longer functions properly when changing audio device (2 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    Here the log :)

    Code:
    Severity    Code    Description    Project    File    Line    Suppression State
    Error        The type or namespace name 'AudioSwitcher' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Player\VolumeHandler.cs    26   
    Error        The type or namespace name 'AudioSwitcher' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Player\VolumeHandler.cs    27   
    Error        The type or namespace name 'CoreAudioController' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Player\VolumeHandler.cs    46   
    Error        The type or namespace name 'AudioSwitcher' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Mixer\Mixer.cs    25   
    Error        The type or namespace name 'AudioSwitcher' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Mixer\Mixer.cs    26   
    Error        The type or namespace name 'AudioSwitcher' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Mixer\Mixer.cs    27   
    Error        The type or namespace name 'CoreAudioController' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Mixer\Mixer.cs    217   
    Error        The type or namespace name 'CoreAudioDevice' could not be found (are you missing a using directive or an assembly reference?)    Core    D:\MediaPortal-1\mediaportal\Core\Mixer\Mixer.cs    218   
    Error    CS0246    The type or namespace name 'AudioSwitcher' could not be found (are you missing a using directive or an assembly reference?)    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    62    Active
    Error    CS0246    The type or namespace name 'CoreAudioController' could not be found (are you missing a using directive or an assembly reference?)    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    222    Active
    Error    CS0246    The type or namespace name 'CoreAudioController' could not be found (are you missing a using directive or an assembly reference?)    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    222    Active
    Error    CS0246    The type or namespace name 'CoreAudioController' could not be found (are you missing a using directive or an assembly reference?)    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    3112    Active
    Error    CS0246    The type or namespace name 'CoreAudioDevice' could not be found (are you missing a using directive or an assembly reference?)    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    3117    Active
    Error    CS0103    The name 'AudioSwitcher' does not exist in the current context    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    3118    Active
    Error    CS0103    The name 'AudioSwitcher' does not exist in the current context    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    3119    Active
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    Probably missing app.conf, in Mediaportal.Application by any chance?
    Can commit all changes but it added app.conf in other un-related projects when I added the nuget package :)
    No clue lol :p
    The dll are present in package so don't know why it failed, i think remember that i already seen this because of the version of dll NET3.5 vs NET4.0 but it oes to NET4.0 dll so i don't know lol
     

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    It could also need a restore nuget packages run from within Visual Studio :)
     

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    Trying to find good example but it's:

    - Either happens during build or manually:

    Right click solution -> Restore NuGet packages
     

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    Last edited:

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    Since we still run into issues with BCL (build bot doesn't like it), decided to go the NAudio route which was surprisingly easy to get working.
    Upsides are:

    - No BCL needed for NET40 builds (less deps)
    - Maintained and used by mayor companies
    - One .dll to include: "NAudio.dll"
    - Packed with features for later use:

    https://github.com/naudio/NAudio/blob/master/README.md

    So a lot of extra features in library, thanks @Stéphane Lenclud for suggesting this one :)
    Will push to clean branch in a sec which will hopefully solve our build problems completely.

    // Update

    Pushed to re-created branch:

    https://github.com/RickDB/MediaPortal-1/tree/MP1-4838-Rework_volume_control_management
     
    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 2)

    OP Similar threads Forum Replies Date
    C Hauppauge HVR-1265 -- does it work with MP1? MediaPortal 1 Talk 1
    ajs MP2Web - MP1 compatibility MediaPortal 1 20
    T MadVR + LAV Filters, Perfect in MPC-BE, Bad in MP1 MediaPortal 1 Talk 13
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    C Streaming/transcoding MP2 vs MP1? General 4
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    S Shortcuts MP1 My Recorded & TV Guide General 10
    azzuro [WiP] MP1-4999 - Big changes with many related change at once by Sebastiii MediaPortal 1 12
    ajs [Help Us!] MP1 X64 Version MediaPortal 1 20
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    ajs [News] MediaPortal 1 - 1.24 Released! News and Announcements 3
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    azzuro [WiP] MP1-5019: Replace MySQL with MariaDB MediaPortal 1 40
    catalpa Umsteiger von MP1: Schwierigkeiten Allgemeines Support- und Diskussionsforum 17
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    rbo [solved] Umsteiger MP1 zu MP2 Allgemeines Support- und Diskussionsforum 67
    azzuro [Info] MP2 TVE inside MP1 repo MediaPortal 2 12
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    lisag Can I get MP1 to open in the Recorded TV screen? MediaPortal 1 Talk 2
    M MP1 stops responding after Starting Plugins General Support 14
    R Problem with MP1 and WifiRemote Skins and Plugins Installer (MPEI) 8
    Similar threads

























    Top Bottom