[#5391] For ad1836 and ad1981b, sometimes sound shakes at the end
Submitted By: Vivi Li
Open Date
2009-07-24 00:33:52 Close Date
2009-08-13 22:11:29
Priority:
Medium Assignee:
Cliff Cai
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Audio Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1_rc9
App binary format:
N/A
Summary: For ad1836 and ad1981b, sometimes sound shakes at the end
Details:
For ad1836 in bf533 and bf537, record and play at the same time, sound seems to repeat and shakes when it finishes.
--
arecord -t wav -c 2 -f S16_LE -r 48000 -d 5 |aplay
arecord -t wav -c 1 -f S16_LE -r 8000 -d 5 |aplay
arecord -t wav -c 1 -f S16_LE -r 48000 -d 5 |aplay
arecord -t wav -c 1 -f U8 -r 8000 -d 5 |aplay
arecord -t wav -c 1 -f U8 -r 48000 -d 5 |aplay
--
Follow-ups
--- Vivi Li 2009-07-30 04:50:19
The same problem happens when I test ad1981b on bf527-ezkit. It's easy to
notice. Bellow is the example.
--
arecord -t wav -c 1 -f S16_LE -r 44100 -d 5 wav
aplay wav
--
--- Cliff Cai 2009-08-03 03:39:10
The shake effect is inevitable,the only way to alleviate is to shrink the
PCM_BUFFER_MAX.
Cliff
--- Cliff Cai 2009-08-03 22:43:33
I also found that if the driver is using copy callback to capture/playback
audio(AD1836 or AD1980 in copy mode),the shake effect is more obvious,while
using mmap way such effect is not audible.
Cliff
--- Vivi Li 2009-08-11 05:47:16
It's OK now for ad1836.
--- Vivi Li 2009-08-14 03:11:48
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.audio_ad1836 application/octet-stream 32050 Vivi Li