Add HDMI audio input queries and split OSD into a helper in GVFG SDK 3.2
- Expose HDMI audio input information through the capture API and refresh the bundled Gigabyte library. - Move OSD rendering into gvfg_osd.dll, connect channel OSD through the capture frame processor, and remove the experimental in-place zero-copy OSD path. - Update playback integration, the customer API documentation, and the internal build guide. Validation: git diff --cached --check passed. The MSVC Release SDK build passed. Capture hardware and runtime behavior were not tested.
This commit is contained in:
@@ -145,13 +145,15 @@ GVFG_PLAYBACK_API gvfg_playback_status_t gvfg_playback_submit_video(gvfg_playbac
|
||||
* Requires an attached window and a stopped handle. Caller data stays valid
|
||||
* through return. Used for RAW/DICOM image display; no audio is initialized. */
|
||||
GVFG_PLAYBACK_API gvfg_playback_status_t gvfg_playback_present_image(gvfg_playback p, const gvfg_preview_frame_t *image);
|
||||
/* In A/V mode an audio-output failure disables monitoring for this handle,
|
||||
* preserving video playback. Subsequent audio submissions return EAUDIO.
|
||||
* Keep capture/recording audio independent; do not retry output on this handle.
|
||||
* Recreate the handle to retry monitoring. Stop/reset does not clear EAUDIO.
|
||||
/* In A/V mode an unavailable audio output returns EAUDIO while video continues.
|
||||
* With reconnect enabled, keep submitting new PCM so monitoring can resume
|
||||
* when the default output becomes available. Otherwise recreate the handle
|
||||
* to retry monitoring. Keep capture/recording audio independent.
|
||||
* A/V start may succeed with monitoring disabled; audio-only start still fails
|
||||
* if its output is unavailable. Other errors retain their normal meaning. */
|
||||
GVFG_PLAYBACK_API gvfg_playback_status_t gvfg_playback_submit_audio(gvfg_playback p, const void *pcm, uint32_t bytes, uint64_t timestamp_ns);
|
||||
/* Opt in before start. Retries the default Windows output in A/V mode only. */
|
||||
GVFG_PLAYBACK_API gvfg_playback_status_t gvfg_playback_enable_audio_reconnect(gvfg_playback p);
|
||||
GVFG_PLAYBACK_API gvfg_playback_status_t gvfg_playback_set_volume(gvfg_playback p, float gain);
|
||||
/* Default enabled=1. Set 0 for independent best-effort playback with no
|
||||
* automatic return to synchronization. May be called before start or while
|
||||
|
||||
Reference in New Issue
Block a user