RE: Beep sound in the end of audio file

2009-05-06 Thread Aggarwal, Anuj
 -Original Message-
 From: Peter Ujfalusi [mailto:peter.ujfal...@nokia.com]
 Sent: Wednesday, May 06, 2009 11:03 AM
 To: Aggarwal, Anuj
 Cc: linux-omap@vger.kernel.org; alsa-de...@alsa-project.org
 Subject: Re: Beep sound in the end of audio file
 
 Hello,
 
 On Tuesday 05 May 2009 20:03:57 ext Aggarwal, Anuj wrote:
  Hi,
 
  After playing out any audio file on OMAP3 EVM, having TWL4030 codec,
  I am hearing a beep sound. I have also tried implementing a mute function
  in which I disabled all the inputs/outputs but still that didn't help.
 
  Any idea how this can be avoided?
 
 I have not heard from this kind of problem so far, which does not mean, that
 it does not exist ;)
 Can you describe the beep sound?
[Aggarwal, Anuj] It's kind of a tuck sound coming in the end, after 1 or  2 
seconds.
 
 After a quick look I can not pin point the soc board file used with the
 omap3evm board. Is it in the tree?
[Aggarwal, Anuj] No, it is not. Reason being we already have beagle  
sdp3430 there, which are both similar to omap3evm, which I pushed. 
So mine got rejected. We had some discussions on how to handle this
scenario but nothing got finalized.
 
 Does the beep happens in these cases also (after stopping it with Ctrl+C):
 aplay -f dat /dev/zero
 aplay -f dat /dev/urandom
[Aggarwal, Anuj] Yes, it comes in both the cases.
 
 
 CC-ing alsa-devel...
 
 
  Thanks and Regards,
  Anuj Aggarwal
 
  Platform Support Products
  Texas Instruments Incorporated
 
 
 --
 Péter

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Beep sound in the end of audio file

2009-05-06 Thread Peter Ujfalusi
On Wednesday 06 May 2009 17:19:49 ext Todd Fischer wrote:
 Hi,

 FWIW: while developing a GSTreamer presentation using a BegleBoard (rev C),
 I noticed the same tuck sound.  It also occurs a second or two after the
 GST application exits.  I assumed it was some power management code that
 was disabling the audio codec after it had gone idle, but never looked into
 it.  BeagleBoard also uses TWL4030.

 GST command: gst-launch audiotestsrc freq=1000 num-buffers=100 ! alsasink

 /proc/version: Linux version 2.6.28-omap1 (ddo...@aleph) (gcc version 4.3.1
 (GCC) ) #2 Thu Mar 5 08:55:58 CST 2009

The tuck is coming from the codec, when it is powered down (in the old 
twl4030 codec found in omap-2.6.28 branch of linux-omap).
But, it still happens with the latest version, when the codec is muted only.
I can observe the tuck on Headset output, but not on the PreDrive...
The Headset enable and disable is implemented according to the TRM, but it 
seams that additional tweaking is needed..

-- 
Péter
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Beep sound in the end of audio file

2009-05-05 Thread Peter Ujfalusi
Hello,

On Tuesday 05 May 2009 20:03:57 ext Aggarwal, Anuj wrote:
 Hi,

 After playing out any audio file on OMAP3 EVM, having TWL4030 codec,
 I am hearing a beep sound. I have also tried implementing a mute function
 in which I disabled all the inputs/outputs but still that didn't help.

 Any idea how this can be avoided?

I have not heard from this kind of problem so far, which does not mean, that 
it does not exist ;)
Can you describe the beep sound?

After a quick look I can not pin point the soc board file used with the 
omap3evm board. Is it in the tree?

Does the beep happens in these cases also (after stopping it with Ctrl+C):
aplay -f dat /dev/zero
aplay -f dat /dev/urandom


CC-ing alsa-devel...


 Thanks and Regards,
 Anuj Aggarwal

 Platform Support Products
 Texas Instruments Incorporated


-- 
Péter
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html