Questions about sceAudioRoutingSetMode and sceAudioRoutingGetMode
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
調査の方向性
sceAudioRouting_driver.S から始め、エクスポートされている NID とフラグを impose_0.2g.prx の関数と比較します。ドライバーの NID が 0x18B6F449 と 0x931ABEF5 であることを確認し、4 つの routing モードまたは状態を表現すべきかどうかを判断します。正しい SDK 定義とサポートされるモードが確立された時点で issue は完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi,
I've noticed that the NIDs provided by the SDK for sceAudioRoutingSetMode and sceAudioRoutingGetMode are the same for both sceAudioRouting and sceAudioRouting_driver.
Looking at the exports found in impose_0.2g.prx, I've seen that it exports the same functions (same offset within the PRX) but with different NIDs and flags. The NIDs currently in the SDK match those of sceAudioRouting (the user-mode library), not sceAudioRouting_driver.
I'm writing a kernel-mode PRX plugin and need to call the driver versions of these functions. Using the NIDs provided by the SDK doesn't work, but forcing them to:
sceAudioRoutingSetMode → 0x18B6F449
sceAudioRoutingGetMode → 0x931ABEF5
solves the problem.
Also, the possible routing modes/states appear to be 4, not 2.
I'm opening this issue before submitting a PR, to ask whether I should just fix the NIDs in sceAudioRouting_driver.S, or if there's something else going on that I'm missing.
Thanks!
- 主要言語
- C
- スター
- 1.2k
- フォーク
- 190
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pspdev/pspsdk のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
pspdev/pspsdk#332 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pspdev/pspsdk#331 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
contrib/ivorysql_ora/src/builtin_packages/utl_file/utl_file.c:517 - FCOPY destroys a file when source and destination are the same対応中かも @Metastarx が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
ly05010419/MacNativeGames#1848 ·
メンテナーはふだん 1 日以内に返信
-
libc++ test-suite
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
llvm/llvm-project#239851 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
bug game: 010042D00D900000 mac
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信