[MP1-4838] Volume control no longer functions properly when changing audio device | Page 5

Discussion in 'General Support' started by Rick164, January 6, 2017.

Tags:
  1. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,297
    Likes Received:
    6,249
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,270 / 9
    Home Country:
    France France
    Show System Specs
    Here the log :)



    Code (Text):
    1. Severity    Code    Description    Project    File    Line    Suppression State
    2. 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  
    3. 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  
    4. 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  
    5. 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  
    6. 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  
    7. 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  
    8. 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  
    9. 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  
    10. 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
    11. 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
    12. 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
    13. 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
    14. 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
    15. Error    CS0103    The name 'AudioSwitcher' does not exist in the current context    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    3118    Active
    16. Error    CS0103    The name 'AudioSwitcher' does not exist in the current context    MediaPortal    D:\MediaPortal-1\mediaportal\MediaPortal.Application\MediaPortal.cs    3119    Active
    17.  
     
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
  4. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,297
    Likes Received:
    6,249
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,270 / 9
    Home Country:
    France France
    Show System Specs
    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
     
  5. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
  6. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,297
    Likes Received:
    6,249
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,270 / 9
    Home Country:
    France France
    Show System Specs
    Let's try :p
     
  7. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,297
    Likes Received:
    6,249
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,270 / 9
    Home Country:
    France France
    Show System Specs
    Maybe how did you do that ?
    I have close VS -> clean up (git) -> open VS and again error :(
     
  8. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
  9. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Last edited: January 10, 2017
    • Thank You! Thank You! x 1
  10. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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: January 10, 2017
    • Like Like x 1
    • Thank You! Thank You! x 1
  11. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,297
    Likes Received:
    6,249
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,270 / 9
    Home Country:
    France France
    Show System Specs
    Nice nice :p
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!