references/overview.md | Goals, when to use WASAPI, inspect the existing system, core optimization principle. | Starting any WASAPI work; orientation. |
references/scenario-and-architecture.md | Classify direction/endpoint/mode/latency/processing; Core Audio object chain; recommended class responsibilities. | Selecting the stream scenario; designing structure. |
references/modes-latency-scheduling.md | Shared vs exclusive mode; IAudioClient3; latency as negotiated; event-driven streaming; real-time bounds; MMCSS. | Choosing mode/latency; scheduling the audio worker. |
references/audio-formats.md | Format negotiation, GetMixFormat / IsFormatSupported, format ownership, sample conversion, multichannel. | Negotiating or converting audio formats. |
references/render-and-capture.md | IAudioRenderClient / IAudioCaptureClient buffer protocol; priming; capture flags; timing/positions. | Implementing render or capture loops. |
references/loopback.md | Endpoint loopback, process loopback, RAW mode, MATCH_FORMAT. | Capturing system/process audio or bypassing processing. |
references/devices-routing-changes.md | MMDevice endpoint selection, default routing, IMMNotificationClient, invalidation/recovery. | Choosing devices; handling device changes. |
references/sessions-and-volume.md | Audio categories, sessions, endpoint vs session volume. | Session/volume control. |
references/threading-and-lifecycle.md | COM/threading, async activation, lifecycle state machine, Start/Stop/Reset, cancellation, locking. | Stream lifecycle and concurrency. |
references/data-flow.md | Backpressure, buffer ownership across threads, silence, discontinuities. | Connecting a slow consumer; handing off audio data. |
references/diagnostics-and-performance.md | Structured diagnostics; investigating glitches/underruns. | Debugging or optimizing audio. |
references/managed-and-errors.md | C#/.NET guidance, error categorization, fallback policy. | Managed implementations; error handling. |
references/testing.md | Unit vs integration testing, review checklist, anti-patterns. | Testing and reviewing WASAPI code. |
references/workflow.md | Step-by-step implementation workflow; source-of-truth policy. | Implementing a new or modified audio feature. |