raylib-hang és zeneadatfolyam
A megfelelő frissítési és felszabadítási folyamathoz rendeli a zenét és hangeffekteket. Külön kezeli a hosszú, folyamatosan olvasott zenét és rövid hangokat, valamint a szünetet és jelenetváltást.
raylib-audio-streaming
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha akadozik a zene vagy jelenetváltás után több lejátszás marad.
Miben segít neked?
- Igény alapján választ betöltött hangot vagy streamelt zenét.
- Felelőst rendel a frissítéshez, szünethez és számváltáshoz.
- A lejátszás végéig megőrzi a megosztott erőforrást.
Például ezt kérheted
Adj ismétlődő harci zenét és egymást átfedő kardhangokat az arénajátékomhoz. Szüneteltesd a zenét, válts eredményképernyőre, majd indíts új csatát. A zene a meghatározott módon folytatódjon vagy induljon újra, és a régi hangok az audioeszköz bezárása előtt szabaduljanak fel.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
raylib — audio streaming
Use when implementing raylib sound playback, streaming music or audio lifetime.
Version and project gate
Inspect The local raylib.h version, linked library, C/C++ build system, platform backend, asset paths, compile flags and ownership conventions. Match the cheatsheet to the linked version rather than assuming the current website API. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Choose Sound versus Music from loading and streaming requirements. Identify who updates music streams and when playback pauses or resumes. Keep audio device initialization and asset lifetime ordered; cap overlapping voices from actual gameplay needs.
Deliver
An audio lifecycle change with predictable pause, restart and cleanup behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A streamed Music object needs update servicing; unloading a playing shared resource can cause invalid lifetime behavior.
Acceptance scenario
Pause during playback, restart repeatedly, switch tracks and exit after a load failure without using a closed audio device. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Flint. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
Csomagban lévő fájlok 1
SKILL.md
