Skip to content

RDKEMW-16902 : xr-voice-sdk MFV plugin headers - #59

Open
dwolaver wants to merge 10 commits into
developfrom
feature/RDKEMW-16902_vsdk_mfv_plugin_headers
Open

RDKEMW-16902 : xr-voice-sdk MFV plugin headers#59
dwolaver wants to merge 10 commits into
developfrom
feature/RDKEMW-16902_vsdk_mfv_plugin_headers

Conversation

@dwolaver

@dwolaver dwolaver commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@dwolaver
dwolaver marked this pull request as ready for review April 9, 2026 20:04
@dwolaver
dwolaver requested a review from a team as a code owner April 9, 2026 20:04
Copilot AI review requested due to automatic review settings April 9, 2026 20:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new public header defining the Mid-Field Voice (MFV) plugin interface for the xr-voice-sdk audio stack, including capability flags, message payloads, session configuration/statistics, and the plugin API vtable.

Changes:

  • Introduces xraudio_mfv.h defining MFV capability flags, result/error/message enums, and message/session structs.
  • Defines MFV plugin function pointer typedefs and xraudio_mfv_plugin_api_t interface exposed via xraudio_mfv_plugin_api_get().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xr-audio/xraudio_mfv.h Outdated
Comment thread src/xr-audio/xraudio_mfv.h Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xr-audio/xraudio_mfv.h Outdated
Comment thread src/xr-audio/xraudio_mfv.h

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xr-audio/xraudio_mfv.h
Comment thread src/xr-audio/xraudio_mfv.h Outdated
Comment thread src/xr-audio/xraudio_mfv.h Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xr-audio/xraudio_mfv.h Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xr-audio/xraudio_mfv.h
Comment thread src/xr-audio/xraudio_mfv.h
Comment thread src/xr-audio/xraudio_mfv.h Outdated
Comment thread src/xr-audio/xraudio_mfv.h

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xr-audio/xraudio_mfv.h Outdated
/// @brief MFV session configuration
/// @details Specifies which optional processing features should be enabled for an MFV session.
typedef struct {
bool apply_gain; ///< true if gain should be applied to the input audio stream, false otherwise

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the gain value to be applied specified?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the plugin has the XRAUDIO_MFV_CAPS_AUDIO_GAIN capability set, then the plugin will determine the appropriate gain and apply it based on this flag as requested by the MW. It may be worthwhile to add an additional parameter to specify the target signal level such as -6 dBFS or whatever based on the destination's requirements.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@egalla204 egalla204 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@pstick999 pstick999 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved based on design presented on 4/2/26.

/// @param[in] object The MFV object handle
/// @param[in] info Pointer to a structure with the keyword detection details
/// @return XRAUDIO_MFV_RESULT_SUCCESS on success, or an error code on failure
typedef xraudio_mfv_result_t (*xraudio_mfv_func_session_info_t)(xraudio_mfv_object_t object, const xraudio_mfv_keyword_info_t *info);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the expected period of time from the session open API to the session info API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants