Skip to content

Conversation

@gidori98
Copy link
Contributor

@gidori98 gidori98 commented Dec 5, 2025

If we apply add_dsp_flow_rules_extract_raw_data using api added, We can extract recording data not preprocessing with AEC.

@gidori98 gidori98 changed the title framework/src/media, os/audio : Add changeDSPFlow api for change dsp flow rule on real-time. [Do not merge] framework/src/media, os/audio : Add changeDSPFlow api for change dsp flow rule on real-time. Dec 5, 2025
@gidori98 gidori98 force-pushed the dsp_flow_1205 branch 4 times, most recently from 100accb to 64cb30f Compare December 5, 2025 08:10
…flow rule on real-time.

If we apply add_dsp_flow_rules_extract_raw_data using api added, We can extract recording data not preprocessing with AEC.
Copy link
Contributor

@aadotverma aadotverma left a comment

Choose a reason for hiding this comment

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

Changes are ok

* It changes the current dsp flow to dsp flow of given number.
*
* Input parameter:
* stream_policy: dwp flow rule number to be changed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor comment

  Input parameter:
  	 dsp_flow_num: dsp flow rule number to be changed. 1 for AFE processed data & 2 for raw audio data

audio_manager_result_t change_input_dsp_flow(uint8_t dsp_flow_num)
{
audio_manager_result_t ret;
struct audio_caps_desc_s caps_desc;
Copy link
Contributor

Choose a reason for hiding this comment

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

caps_desc not used anywhere

}
auto recorder = std::shared_ptr<WakeRec>(new WakeRec());
if (argc == 2 && atoi(argv[1]) == 0) {
if (atoi(argv[1]) == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

if (argc == 3 && atoi(argv[1]) == 0)

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.

2 participants