-
Notifications
You must be signed in to change notification settings - Fork 619
media: Sync Media Framework & Audio driver #7088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
45055b7 to
1303843
Compare
|
Commit message "media: Sync Media Framework & Audio driver" Please change it to explain the changes done. It helps in tracking the changes |
vibhor-m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to split the big commit into smaller commits?
| @@ -0,0 +1,21 @@ | |||
| ########################################################################### | |||
| # | |||
| # Copyright 2025 Samsung Electronics All Rights Reserved. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2025 => 2026
| # For a description of the syntax of this configuration file, | ||
| # see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt | ||
| # | ||
| # This file is autogenerated, do not edit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line correct here, "# This file is autogenerated, do not edit."
This is not an auto generated file.
| config EXAMPLES_SOUNDPLAYER | ||
| bool "Sound Player" | ||
| default n | ||
| depends on HAVE_CXX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also depends on controller application. disabling controller compilation will break
| auto& controller = PlayerController::getInstance(); | ||
|
|
||
| if (argc != 3 && argc != 4) { | ||
| printf("Usage: player <player_num> <command> [volume]\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please expand usage to show input command options.
| #include <functional> | ||
| #include <map> | ||
| #include <media/FocusRequest.h> | ||
| //using FocusLossListener = std::function<void()>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this line commented and moved to class FocusManager
| * @param[in] frames number of frames in buffers | ||
| * @endcond | ||
| */ | ||
| void mergeChannel(void *dataL, void *dataR, unsigned int frames); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is internal to media, we don't need to export this function outside media. Please check it should not be part of MediaUtils.h
framework/src/audio/SoundManager.cpp
Outdated
| @@ -0,0 +1,233 @@ | |||
| /**************************************************************************** | |||
| * | |||
| * Copyright 2024 Samsung Electronics All Rights Reserved. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2024 => 2026
1303843 to
7978628
Compare
Co-Authored-By: Aayush Verma <aa.verma@samsung.com>
7978628 to
1ba67c1
Compare
media: Sync Media Framework & Audio driver
Tested below apps:
1.) wakerec app: Keyword Detection, record and playback same recorded audio.
2.) sound player app: Play the file on a specific path
3.) Sound Player Mixer Testing: Validated the audio mixer functionality, ensuring proper mixing of multiple audio streams with correct volume control, resume, stop, mute, unmute, play the specific player.