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

Status
Not open for further replies.

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    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,431
    2,334
    Home Country
    Germany Germany
    Country flag
    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,623
    2,453
    Vienna, Austria
    Home Country
    Austria Austria
    Country flag
    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
    871
    59
    NRW
    Home Country
    Germany Germany
    Country flag
    (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,623
    2,453
    Vienna, Austria
    Home Country
    Austria Austria
    Country flag
    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,431
    2,334
    Home Country
    Germany Germany
    Country flag
    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

    Similar threads

    • Locked
    It would be great if you then posted a comment in your bug thread. I will mark the thread as "fixed", assuming that the change has made (or will make) its way into the master.
    It would be great if you then posted a comment in your bug thread. I will mark the thread as "fixed", assuming that the change has...
    Hi, i've noticed, that MP2 crashed to desktop, if you try to play an audiofile after changing WASAPI exclusiv audio device...
    Replies
    24
    Views
    3K
    MP1 MP2 No AC3 sound ... DE
    @fanol Thanks for providing the log files. However they contain only limited detail. Could you please collect new log files, and this time use the Watchdog tool with option 1 or 2 ("report a bug...") to do it. The Watchdog tool is the preferred method/source for collecting log files. Please use it whenever you can. General...
    @fanol Thanks for providing the log files. However they contain only limited detail. Could you please collect new log files, and...
    Hi! I start to play, and there is no sound. Established LAV 0.68 everywhere. On the other formats and movies is no such problem. I...
    Replies
    84
    Views
    11K
    Нет, ничего не делал, иногда такое у меня бывает, но помогало всегда выключение компа. Вчера ничего не помогло. Но интереснее то что, включаю CC Catch и все нормально. Любое другое из того что пробовал выдает такую ошибку. :( LAV использую только в видео, но там со звуком проблем нет. Проблема именно в WASAPI Exclusive, если...
    Нет, ничего не делал, иногда такое у меня бывает, но помогало всегда выключение компа. Вчера ничего не помогло. Но интереснее то...
    Mediaportal 1.7.1 подключен через HDMI к Pioneer VSX-828, системные звуки Windows слышно и все работает, фильмы и видеоклипы так...
    Replies
    19
    Views
    3K
    • Locked
    I'll close this thread since audio renderer is now part of the MP release (1.3.0): Any audio renderer bugs should be reported in a separate threads, just like other bugs have been handled during the years Any new audio renderer development / public testing will take place in new thread(s) Big thanks for everyone who has been...
    I'll close this thread since audio renderer is now part of the MP release (1.3.0): Any audio renderer bugs should be reported in...
    Beta warning - Do not use if you aren't willing to take part into the beta testing! Please note that there is currently only...
    Replies
    215
    Views
    40K
    Yep, that fixed the problem for me ... at least for watching the "The Event" episode 9 in 720p tonight. I maintained 2% but set timeout to 30 secs. I did not have a single stutter during the whole show. :thx:
    Yep, that fixed the problem for me ... at least for watching the "The Event" episode 9 in 720p tonight. I maintained 2% but set...
    Hi, I sometimes get the error no URL when trying to play some files from svtplay with onlinevideos 0.25. It has worked sometimes...
    Replies
    5
    Views
    1K
    Top Bottom