tmassie / aospx

Automatically exported from code.google.com/p/aospx
0 stars 0 forks source link

Sound click/pop with notification sounds #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please describe the problem in detail. Be sure to include:
When notification sound is played, there's an audible popping (click) sound at 
the beginning, as if the waveform has been trimed a little at the beginning. 
(Also the same popping can be heard when abruptly stopping the sound but that 
can be considered normal.)

What steps will reproduce the problem?
1. Go to Google Talk's or Facebook Messenger's notification settings, and 
choose a subtle sound as a notification ringtone, e.g. "Argon", "Cobalt", 
"Tejat" or "Zirconium". 
2. When the notification is received, more often than not the sound will have a 
click at the beginning, which can be louder than the ringtone itself. 
The same click can sometimes be heard while in the settings menu - by tapping 
on the sound in the ringtone list the click can be heard at the beginning of 
the sound, and at the end by pressing "Cancel" to exit the menu while the 
ringtone is still being played.

What is the expected output? What do you see instead?
Sound should be played normally, instead it has a click at the beginning.

What version of aospX are you using? And when did the issue first start?
MR1 (Oct 1). The issue has been there from the beginning.

Please list the kernel version under Settings->About phone
2.6.35.14-aospx-mint_chocolate

Does the issue happen after a full wipe and without any data restored?
Didn't try - this is the first custom rom I flashed, I rooted the phone few 
days ago with AAHK, did full wipe and had nothing restored.

Inspire4G or DesireHD? (If Inspire, did you flash Inspiremod?)
Desire HD

Please provide logcat ouput and any additional information below.
(logs required or I will discard the ticket.)
Not sure if logcat output is relevant for this.

Original issue reported on code.google.com by bgr....@gmail.com on 9 Oct 2012 at 9:41

GoogleCodeExporter commented 8 years ago
Im not seeing this issue, nor have I heard anyone else having this issue. 
Anyone else able to confirm?

Original comment by robbe...@gmail.com on 10 Oct 2012 at 4:11

GoogleCodeExporter commented 8 years ago
I have recorded the logcat output as it happens along with the sound, hopefully 
it'll help you get some insight into the problem [watch out for sudden loudness 
in the video :)].
The second part of the video shows a different problem that might be linked to 
this one - the popping in Music app when I turn the screen on and off, but for 
that problem there doesn't seem to be anything suspicious in logcat output. I 
had to reboot the phone since I wasn't able to reproduce it on the first try 
(however I can reproduce the notification sound popping every time).

you can watch it online here: http://www.bakterion.com/stuff/aospx_sound_pop/
or download the mp4 video file: 
http://www.bakterion.com/stuff/aospx_sound_pop/aospx_sound_pop.mp4

Original comment by bgr....@gmail.com on 11 Oct 2012 at 11:47

GoogleCodeExporter commented 8 years ago
I can confirm this issue with any app that uses sounds in notifications as well 
as the popping in the music player when turning the screen on or off. For the 
first issue, I think it can be related with the power management of the audio 
harware. I have the same "problems" under Linux when I enable the power save 
mode in my audio hardware, there is always a cracking sound when playing 
something while the audio device is in power save mode. First you heard the 
crack, then the music/sound is played without problems.

Original comment by ciclo...@gmail.com on 13 Oct 2012 at 6:03

GoogleCodeExporter commented 8 years ago
Anyone else able to verify? Please specify Inspire 4G or DHD. With I4G I do not 
experience this, also had a few other I4G users report the same as me...so its 
possible its a DHD only issue. Which if it is, it might help narrow it down 
some.

Original comment by robbe...@gmail.com on 23 Oct 2012 at 3:49

GoogleCodeExporter commented 8 years ago
I have the same problem, usuallly before start a music player. Its desire hd.e

Original comment by da...@oraetlabora.org on 6 Nov 2012 at 12:30

GoogleCodeExporter commented 8 years ago
I can confirm popping in music player on turning on and off screen. I also 
noticed it happens after gsm network is turning on and off, when i completely 
loose signal and reconnect to network or when i switch from wifi to gsm 
(edge)It seems like many system activities can trigger this pop, click, skip. 
Oh and i cant reproduce this during around first 30 seconds of playing (or 
maybe little less). My device is DHD. Logcat with turning screen on and off 
during playing music attached.

Original comment by m.dr...@gmail.com on 6 Nov 2012 at 9:33

Attachments:

GoogleCodeExporter commented 8 years ago
New -> Verified

So it looks like all the reports are coming from DHD users only, havent seen an 
Inspire user report this yet (nor can I reproduce it on my Inspire). Although I 
think the issue where turning the screen on/off may be different. The kernel 
includes a patch where it limits the max cpu freq to 652mhz when the screen is 
turned off..then resumes the normal max freq when screen is turned back on 
(this helps when something is running in the background when screen is off and 
keeps it from jumping to 1ghz). Ill see if removing the patch prevents this, 
but its more of a skip than a click like whats reported in the OP. But as far 
as the 'click' like in the video above, Ive yet to experience this on 
Inspire...so if any other users have this issue, please post if your on a DHD 
or Inspire.

Original comment by robbe...@gmail.com on 7 Nov 2012 at 2:41

GoogleCodeExporter commented 8 years ago
It's kernel related for sure. I tried last LordClockan bfs kernel and music 
plays fine. Little OT but why when I try to dump dmesg log it only saves last 
4kB? I'm using terminal emulator:
su
dmesg > /mnt/sdcard/dmesg.txt

Original comment by m.dr...@gmail.com on 7 Nov 2012 at 7:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
If users still have theseissues, you could try these options. These fixes are 
from the CodefireX 4.2 page on xda-developers maintained by xda user pnoire.

TurboniumX Inspire Audio Fix:
Link to download the flashable zip in thread
http://forum.xda-developers.com/showthread.php?t=972725

Audio&video record improvement by iPwn_
Adjustments to media_profiles.xml:
http://forum.xda-developers.com/showthread.php?t=1728391

Good luck.

Original comment by Udit....@gmail.com on 18 Jan 2013 at 7:29