Skip to content

Conversation

@sahilnara99
Copy link

@sahilnara99 sahilnara99 commented Dec 19, 2025

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.

@sahilnara99 sahilnara99 force-pushed the sync_branch branch 3 times, most recently from 45055b7 to 1303843 Compare December 29, 2025 06:53
@vibhor-m
Copy link
Contributor

vibhor-m commented Jan 2, 2026

Commit message "media: Sync Media Framework & Audio driver"

Please change it to explain the changes done. It helps in tracking the changes

Copy link
Contributor

@vibhor-m vibhor-m left a 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.
Copy link
Contributor

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.
Copy link
Contributor

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
Copy link
Contributor

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");
Copy link
Contributor

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()>;
Copy link
Contributor

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);
Copy link
Contributor

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

@@ -0,0 +1,233 @@
/****************************************************************************
*
* Copyright 2024 Samsung Electronics All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

2024 => 2026

Co-Authored-By: Aayush Verma <aa.verma@samsung.com>
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