Questions about sceAudioRoutingSetMode and sceAudioRoutingGetMode

オープン 初心者向け
#388 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

pspdev/pspsdk のほかの issue

pspdev/pspsdk の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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