sc_audio_v1.resolve
Resolve an exact bounded name to an owner-bound session trigger token; unknown names return NOT_FOUND and zero output without playback.
Signature
Section titled “Signature”sco_result (*)(sco_plugin *, const char *, uint64_t *)Service and availability
Section titled “Service and availability”| Property | Value |
|---|---|
| Symbol | sc_audio_v1.resolve |
| Record ID | sc-audio-v1-resolve |
| Service | game.audio |
| Table | sc_audio_v1 |
| Version macro | SC_AUDIO_VERSION_1_1 |
| Packed table version | 65537 |
| Since / availability | size >= 16; 1.0 |
| Complete member extent (x64 bytes) | 16 |
| Table size (x64 bytes) | 40 |
Parameters and buffers
Section titled “Parameters and buffers”sco_result (*resolve)(sco_plugin* self, const char* name, uint64_t* out_trigger);
Resolve an exact bounded name to an owner-bound session trigger token; unknown names return NOT_FOUND and zero output without playback.
Results and failures
Section titled “Results and failures”OK accepted; BAD_ARG invalid owner/input; WRONG_THREAD; NOT_FOUND unknown/stale/wrong-kind; FAILED foreign owner or backend failure; TOO_MANY quota; UNAVAILABLE unbound, revoked, stopped or restart-required. Output tokens zero on failure.
Absent capability
Section titled “Absent capability”game.audio.triggers OFF without a bound host provider; no native backend, not run in game.
Ownership
Section titled “Ownership”Live caller owns trigger and playback tokens. No native pointers or cross-boundary allocation; tokens never reused within process.
Thread affinity
Section titled “Thread affinity”Game thread only.
Callback context
Section titled “Callback context”No plugin callbacks. Host backend synchronous, bounded and nonthrowing.
Reentrancy
Section titled “Reentrancy”Recursive operations fail with FAILED; owner release during backend call drains cleanup on return.
Cleanup and cancellation
Section titled “Cleanup and cancellation”Owner unload stops only owned effects. Failed stop retains effect/context and cleanup hook; new effects remain unavailable even after recovery.
Language mappings
Section titled “Language mappings”Status labels are copied verbatim from the catalogue: direct is native access; typed-wrapper is wrapper-backed; restricted is a subset/adaptation; unsupported means no supported route is established. No status implies universal safety.
| Language | Catalogue status | Source evidence / wrapper tokens |
|---|---|---|
| c | direct | include/sc_audio.h(*resolve) |
| cpp | typed-wrapper | include/scosdk/game/audio.hpptable_->resolve( |
| csharp | unsupported | docs/game/audio.mdunsupported |
| lua | unsupported | docs/game/audio.mdunsupported |
Examples
Section titled “Examples”None identified in the catalogue; this is not proof none can exist.
ABI pins prove layout, not semantic behavior or a live game session.