MP2 - V2.1 [MP2-563] WASAPI not working for sample rates > 48 kHz (2 Viewers)

Status
Not open for further replies.

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    But i think, it makes sense. OK, it isn't a big task to edit the .xml file, but i think for the most cases 500ms is to much.
    I am not saying that it doesn't, however, the effort to add configuration settings to the GUI is significant. I would rather identify a working buffer figure and roll it out with the next MP2 version.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Ha, ha. No :p
    Never give up.

    I'm sure hwahrmann can handle this
    Hhm, I doubt that Helmut will add code for GUI settings.

    The most straightforward solution is to identify a working buffer figure and add this to the xml to be rolled in the final. A issue is that this will not overwrite the existing setting for anybody upgrading from Pre or Pre2 - we would need a Wiki entry. But first Helios61 needs to confirm that he can now listen to music sources > 48 kHz.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Have configured the same buffer size (221ms) as in MP1, unfortunately the same issue. Logs are attached.

    It is hard coded in MP2, so how did you configure it?
    But using the 500ms on MP1 and WASApi failing, confirms my theory.

    Seems we need to introduce a configurable buffer.
    Maybe not expose it in the UI, but at least allow to set it via a config file (don't know if such exists in MP2 tough)
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    (don't know if such exists in MP2 tough)
    In 'C:\ProgramData\Team MediaPortal\MP2-Client\Config\MediaPortal.UI.Players.BassPlayer.Settings.BassPlayerSettings.xml' you can configure the buffer size. But unfortinately the issue isn't solve.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Maybe you can enter it there, but the program is not using it. :)
    the buffer on wasapi init is hard coded.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    So you would need to add a readout of this setting file entry to the code.

    I trust that this would be sufficient if we adjusted the buffer value in the xml file in parallel to something that we find to work. GUI setting capabilities can be added later.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom