Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

framerate too high

オープン
#141 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
cpp

調査の方向性

src/Main.h の 88 行目と、129 行目付近の CVisualizationProjectM::Render() から始め、その後 Windows 10 x64 で Nexus ビルドを再現します。projectM インスタンスがどのように初期化され、音声データがどのようにそこへ到達するかを確認してください。報告では、FPS の変更と Render() のコメントアウトに効果がなかったとされているためです。ビジュアル表示が意図した速度で動作し、Kodi の音声出力に反応すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I noticed that all presets seem to be running at twice the speed they should be. I believe this is linked to a variable in the source code being hard coded as 100fps:
https://github.com/xbmc/visualization.projectm/blob/054d47e98d56111f34c4c190729faf62c5eaf503/src/Main.h#L88

I am going through the process of cloning and building kodi and the addon to test if setting fps to 60 alleviates the issue but in the meantime, Would be great if this variable was editable in the addon settings.

EDIT: I successfully built the addon and here is what I have found:
version: Nexus
platform: windows 10 x64
Findings:

  • fps has no effect to the erratic high speed of the visuals
  • Commenting out all the code in CVisualizationProjectM::Render() (line 129) also has no effect!
    Seems like the projectM instance initialises but runs on random data within kodi, the output is not being controlled by either Render or AudioData
主要言語
C++
スター
36
フォーク
31
平均マージ
14時間 24分
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

xbmc/visualization.projectm のほかの issue

xbmc/visualization.projectm の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。