Music Player Rework (2 Viewers)

Status
Not open for further replies.

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    This is outside of the BASS Code.
    I have nothing to do with the Mixer handling.

    do you have a bit more logging information?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Hi,

    i now got your rework working on my HTPC and i noticed that "fading out" with enabled cross fading doesnt work correct for me.
    The current playing track wont fade out but the following track is fading in nicely. It seems that the playing track stops at that time, the out fading should begin.
    Does someone else have this behaviour too?

    Can you post the logs please. with Debug turned on. I need to see what it is doing.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Unfortunately Error logging mode was enabled only. Let me enable debug mode and reproduce the problem. What is the correct forum to report this problem?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Unfortunately Error logging mode was enabled only. Let me enable debug mode and reproduce the problem. What is the correct forum to report this problem?

    i think it is a general problem. general support forum would be ok.
    Seems to be an issue with Volume Mixer, when the system is resumed.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Sometimes after resuming Windows from standby when I start a playlist MediaPortal plays only one song to end and then crashes with the following exception:
    2013-04-22 20:55:04.600590 [ERROR][MPMain(1)]: Exception : System.InvalidOperationException: Der Vorgang ist aufgrund des aktuellen Zustands des Objekts ungültig.
    bei MediaPortal.Mixer.Mixer.Open(Int32 mixerIndex, Boolean isDigital)
    bei MediaPortal.Player.VolumeHandler..ctor(Int32[] volumeTable)
    bei MediaPortal.Player.VolumeHandler.CreateInstance()
    bei MediaPortal.Player.VolumeHandler.get_Instance()
    bei MediaPortalApp.OnResume()
    bei MediaPortalApp.WndProc(Message& msg)
    2013-04-22 20:55:04.601590 [ERROR][MPMain(1)]: Exception : Der Vorgang ist aufgrund des aktuellen Zustands des Objekts ungültig.
    2013-04-22 20:55:04.601590 [ERROR][MPMain(1)]: site :Void Open(Int32, Boolean)
    2013-04-22 20:55:04.602589 [ERROR][MPMain(1)]: source :Core
    2013-04-22 20:55:04.603590 [ERROR][MPMain(1)]: stacktrace: bei MediaPortal.Mixer.Mixer.Open(Int32 mixerIndex, Boolean isDigital)
    bei MediaPortal.Player.VolumeHandler..ctor(Int32[] volumeTable)
    bei MediaPortal.Player.VolumeHandler.CreateInstance()
    bei MediaPortal.Player.VolumeHandler.get_Instance()
    bei MediaPortalApp.OnResume()
    bei MediaPortalApp.WndProc(Message& msg)
    I use WASAPI shared mode.

    Please post full logs and system event log as OnResume() is happening before you can start to play a song, so it is not sure if that Mixer related exception is actually crashing MP.
     

    legnod

    MP Donator
  • Premium Supporter
  • September 24, 2011
    1,115
    323
    Stuttgart
    Home Country
    Germany Germany
    Ok here we go :)... i made a small video and i hope you can hear the "hard end" of the track ~ 2,5 seconds before the beginning of the next track (cross fading is set to 2.48 seconds). I cutted the log file a bit and hope you got all information you need...if you need some more information...just let me know.
     

    Attachments

    • MediaPortal_log_music.txt
      16.7 KB
    • music_notcrossFading.zip
      3.4 MB

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Unfortunately Error logging mode was enabled only. Let me enable debug mode and reproduce the problem. What is the correct forum to report this problem?

    i think it is a general problem. general support forum would be ok.
    Seems to be an issue with Volume Mixer, when the system is resumed.
    I know Scythe42 is working on Volume Mixer improvement (not sure if it's related, but resume from standby might act the same as disconnecting HDMI):
    0004334: Volume Handler gets destroyed/is unresponsive after disconnecting HDMI
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Ok here we go :)... i made a small video and i hope you can hear the "hard end" of the track ~ 2,5 seconds before the beginning of the next track (cross fading is set to 2.48 seconds). I cutted the log file a bit and hope you got all information you need...if you need some more information...just let me know.

    Ok, i think i know where the error is.
    Can you please disable the Upmixing from Stereo -> 5.1?
    Then it will work.

    The reason is that i have logioc to detect when the new stream has a different sample rate or channels and then i need to recreate the mixer, which causes the hard stop.
    This should not happen in case of upmixiong.

    I just need your confirmation that this is the case.
    So do a test without upmixing and let me know.
     

    legnod

    MP Donator
  • Premium Supporter
  • September 24, 2011
    1,115
    323
    Stuttgart
    Home Country
    Germany Germany
    Ok, i think i know where the error is.
    Can you please disable the Upmixing from Stereo -> 5.1?
    Then it will work.

    The reason is that i have logioc to detect when the new stream has a different sample rate or channels and then i need to recreate the mixer, which causes the hard stop.
    This should not happen in case of upmixiong.

    I just need your confirmation that this is the case.
    So do a test without upmixing and let me know.

    Ok thanks for the quick response...will test it this evening!
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom