BASS player does not reinitialize sound device

Discussion in 'Listen Music' started by gonzo21, December 3, 2010.

  1. gonzo21

    gonzo21 Portal Pro

    Joined:
    April 20, 2008
    Messages:
    66
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    I have an issue with the music playback of the BASS player:

    Everythime, I power of fmy LCD (attached through hdmi), power it on again (without power cycling the pc) and then try to listen to music with the standard music plugin, it only presents me an error. For every file I want to open it says that he cannot play the selected file.

    In error.log I see a direct 3d error saying "Main: Device lost ..." (see attached log). All other sounds (skin sounds etc) play very well and without any issues, only the BASS player has some issues. I first noticed this in 1.1.1, 1.1.2 has this issue as well.

    If I restart mediaportal, everything is fine again. I can reproduce it any time, if any other logs are needed.

    Anyone's got an idea why BASS looses its handle and doesn't reinitialize it the same as other sounds do?



    Regards,
    André
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. helsten2
    • Premium Supporter

    helsten2 MP Donator

    Joined:
    March 24, 2009
    Messages:
    98
    Likes Received:
    26
    Ratings:
    +26 / 0
    Home Country:
    Norway Norway
    Show System Specs
    I had the same problem, both on 1.1.1 and on the latest 1.1.2. What I did was to go to the BASS Web site and download all Bass DLLs which were used by MediaPortal and replaced them (overwrote the originals) in the MediaPortal installation folder.
    After that everything worked fine.
     
  4. gonzo21

    gonzo21 Portal Pro

    Joined:
    April 20, 2008
    Messages:
    66
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    :D helsten2 for this tip. will try this update and give some feedback here.

    If your solution works, then it is definatively a bug, that the devs should look on for 1.2.0.
     
  5. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    The BASS files in latest code are the very latest versions. Quite often changing the files will prevent music working at all.
     
  6. gonzo21

    gonzo21 Portal Pro

    Joined:
    April 20, 2008
    Messages:
    66
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    hm, replacing the bass.dlls did not work for me.
    The bass.dlls included in mediaportal are not the newest ones, but replacing them with the actual versions did not help. At least those I was able to replace.

    I could not replace the bass.Net.dll. Everytime I did try to replace this dll, mediaportal crashed (even the configuration) saying that the bass.Net.dll has a different version than expected (2.4.7, not 2.4.4.3).

    Any other ideas?

    perhaps updating to 1.2.0 ?
     
  7. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Latest code includes 2.4.7. These will not work with 1.1. These have been updated since 1.2 alpha so you will not have access to this until 1.2 beta is released
     
  8. helsten2
    • Premium Supporter

    helsten2 MP Donator

    Joined:
    March 24, 2009
    Messages:
    98
    Likes Received:
    26
    Ratings:
    +26 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Sorry, I wasn't precise enough: bass.Net.dll should NOT be replaced.
    I replaced the following files (I grabbed them off the BASS Web site just after 1.1.1 was released):
    bass.dll 17.06.2010 13:31 (98KB)
    bass_fx.dll 27.07.2010 20:02 (30KB)
    bass_vst.dll 18.11.2008 23:25 (15KB)
    bass_wadsp.dll 30.10.2009 09:30 (14KB)
    bassasio.dll 23:10.2009 16:49 (13KB)
    bassenc.dll 12.07.2010 11:46 (13KB)
    bassmix.dll 04.02.2010 14:06 (17KB)

    EDIT:
    Attached them here: View attachment Bass-DLLs.zip


    I am aware of that. But since music did not work very well on my installation I tried to replace these files - and it worked (for me) ;)
    I checked the dates on the bass files on 1.1.1 and 1.1.2 (they are the same). All files are from 26.01.2009 except bassenc which is from 12.07 2010.
    There was also an issue in Mantis (0003235) (not sure if it is related), but the Bass library will be updated to the latest version in 1.2.0 Beta
     
  9. gonzo21

    gonzo21 Portal Pro

    Joined:
    April 20, 2008
    Messages:
    66
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    hm, replacing the bass.dlls with those helsten2 attached did not work for me.

    But I found another workaround, without replacing the bass.dlls :

    If I just start radio (via dvb-s tv card), wait for sound coming up, stop radio and then go back to music, music is being played again without issues. Somehow, starting the radio seems to refresh BASS.

    jameson_uk: what do you think? something that gets reinitialized when starting radio, that does not get reinitialized when trying to play back local music? Maybe I should grab some debug logs of this workaround?
     
  10. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,501
    Likes Received:
    1,639
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,266 / 1
    Home Country:
    Austria Austria
    There were problems in the past with other players when bass was active.
    So when you use another player, like DVD or TV, i will de-init bass.

    But it should get re-init, when you start playback of music again.
    This code is in place more than 2 years now, and seems to work ok.
     
  11. gonzo21

    gonzo21 Portal Pro

    Joined:
    April 20, 2008
    Messages:
    66
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    ...and it correctly gets re-initialized, but only if I start radio or tv before (and so far de-init BASS before). I remember, that it had worked in other versions before without this "workaround", but not anymore for me since 1.1.1.

    ..I will grab some more logs this evening, maybe some of you can figure out, why this is happening or what can be optimized.
     
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!