Commit 49fd43c
Modernize Oboe API usage: use non-deprecated shared_ptr callbacks, add spatialization and capture policy
- Replace deprecated setFramesPerCallback() with setFramesPerDataCallback()
- Replace deprecated raw pointer setCallback() with shared_ptr setDataCallback()
and setErrorCallback() (non-owning aliasing shared_ptr for error callback)
- Change StabilizedCallback from unique_ptr to shared_ptr to match new API
- Add setIsContentSpatialized(true) — BASS pre-mixes audio, prevent double processing
- Add setAllowedCapturePolicy(AllowNone) — competitive integrity for rhythm game
Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/23c3ea85-9888-4a55-b8a7-1e5e11dc2e74
Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>1 parent 5ec29c0 commit 49fd43c
2 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
114 | 123 | | |
115 | 124 | | |
116 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | | - | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments