chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.67k stars 109 forks source link

How to replace "start recording notification sound"? Where is this file places? #511

Closed sspphheerraa closed 2 months ago

sspphheerraa commented 6 months ago

Hello. When call recording started there's short ring playing, that notificate about record starting. I want to replace that sound with another. How can I do that, and where is it places?

chenxiaolong commented 6 months ago

Can you explain a bit more about the sound? Are you referring to Android's normal notification sound? (because BCR does not play any of its own sounds)

For Android's notification sound, you can change in from Android's Settings -> Apps -> BCR -> Notifications -> Background services:

Screenshot_20240308-104217

sspphheerraa commented 6 months ago

Well, I hear this sound (check attachment) from my phone when conversation is started. However, my interlocutor doesn't hear it (I checked it), and in record that sound is absent too. Do you hear something like that? Android 14 (LineageOS 21).

https://github.com/chenxiaolong/BCR/assets/10348818/c6fff63b-f587-4e50-89f2-d742ae47f231

chenxiaolong commented 6 months ago

Interesting. I have no idea what that could be. On my device, no sound is played at all.

MrKingMichael commented 6 months ago

Well, I hear this sound (check attachment)

That's the in call notification sound. On my Pixel 5, stock 14 (UP1A.231105.001.B2) build it is located in /product/media/audio/ui/InCallNotification.ogg. You could use a Magisk module like this one if you want to replace it. Like chenxiaolong told you, it is possible to mute this notification through your settings so that it does not make any sound when it appears.