Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4350

BASS Engine can make MediaPortal crash (Mixer Dispose)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.7.0
    • 1.6.0
    • Music
    • None

    Description

      <p>&quot;Seems that BASS lib (WASAPI and normal) are both having issues with exclusive mode stealing the playback device before BASS device is freed&quot;</p>

      <p>Updated information :&nbsp;</p>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">It<span style="font-size: 10pt; line-height: 1.5;">&nbsp;requires good testing since it&#39;s timing related issue and not everybody can trigger the crash :</span></div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">1) it is threading related code change.</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">2) it is music player related.</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">3) it is really important to have stable music playback (one of MP&#39;s main use cases)</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">So in final, we need to test regression and see if all work as before for user that don&#39;t trigger issues on music and for the one that get some issue, see if it&#39;s better than before :)</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;">&nbsp;</div>

      <div data-redactor="1" style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px;"><span style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif, 'Trebuchet MS'; line-height: 1.4em;">BASS Engine Mixer Dispose can make MediaPortal crash.</span></div>

      <div>1) configure BASS WASAPI mode enabled in MP / Music</div>

      <div>2) configure MPAR (exclusive mode) to be used as audio renderer for videos</div>

      <div>3) start mp3 in My Music</div>

      <div>4) start video in My Videos with audio &amp; video</div>

      <div>results:</div>

      <div><a href="http://pastebin.com/G86GdFag">http://pastebin.com/G86GdFag&lt;/a&gt;&lt;/div>

      <div>&nbsp;</div>

      <div>case 2:</div>

      <div>1) configure BASS (non-WASAPI) enabled in MP / Music</div>

      <div>2) configure MPAR (exclusive mode) to be used as audio renderer for videos</div>

      <div>3) start mp3 in My Music</div>

      <div>4) start video in My Videos with audio &amp; video</div>

      <div>results:</div>

      <div><a href="http://pastebin.com/j9c7vTuD">http://pastebin.com/j9c7vTuD&lt;/a&gt;&lt;/div>

      Attachments

        Activity

          People

            sebastiii sebastiii
            HomeY HomeY
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: