8a1a0fd1dc8c612f3ba7db955db11a18b5209ed4 |
|
31-Mar-2011 |
James Dong <jdong@google.com> |
When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE. Change-Id: I3a66fd0ed3f6b90350d706a608a39d8b4a398e32 related-to-bug: 4195127
/frameworks/base/media/libstagefright/AudioSource.cpp
|
7589ebfbfd1e01217b21861fd4b7bfdcc26c2e84 |
|
14-Sep-2010 |
James Dong <jdong@google.com> |
Fix audio input sample timestamp when audio driver loses audio samples Change-Id: Ic0f1489f710929af50e7714867ae5153b3242dd8
/frameworks/base/media/libstagefright/AudioSource.cpp
|
d015ccf62b4e87756e2f7785af92338d35a21c15 |
|
09-Sep-2010 |
James Dong <jdong@google.com> |
HW audio encoder expects timestamp via kKeyTime from each input buffer - This fixes media server crashes on droid Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
/frameworks/base/media/libstagefright/AudioSource.cpp
|
4c23815c3986e50f0cfad3976d748e600f1befa2 |
|
02-Sep-2010 |
James Dong <jdong@google.com> |
Calculate audio media drift time from AudioSource The problem was that the time to receive an output buffer from an audio encoder is different because the encoder does not need to read from the source for all output buffers. This leads to large fluctuation in terms of wall clock duration between two neighboring audio sample outputs from the audio encoder. As a result, the media time for the video track after adjustment using the drifting changes wildly sometimes. This patch addresses this issue by only updating the media drift time when an audio source input buffer is read. the wall clock for the audio track is also calculated at the same time when the input audio buffer is read at AudioSource. bug - 2959800 Change-Id: I3174aa182f744784b540f0a7198524d4eee8bd7b
/frameworks/base/media/libstagefright/AudioSource.cpp
|
a87544b35fda354cd24e1b7e803570e8926da918 |
|
01-Sep-2010 |
James Dong <jdong@google.com> |
Make sure that if initialization fails, AudioSource still behaves well. Change-Id: I16dfc90bcb8a324d6ee9a38a5a1a31cc094c820a
/frameworks/base/media/libstagefright/AudioSource.cpp
|
d7f1c3d69274fef8772a663ce1c792fd0466fcc5 |
|
27-Aug-2010 |
James Dong <jdong@google.com> |
Suppress the video recording start signal - bug 2950297 Change-Id: I0044d07178691feb904cf81e87c1b6d4b714dc1a
/frameworks/base/media/libstagefright/AudioSource.cpp
|
afe5305855e2f3d830337f768028615a44d4aa16 |
|
11-Aug-2010 |
James Dong <jdong@google.com> |
Handle large audio lost Change-Id: I2687ad855aac758946954d0b3fe7aff9f7b5ae7c
/frameworks/base/media/libstagefright/AudioSource.cpp
|
c3ae937a95cbaf4afbe8aa006dc3db4c27f0ad44 |
|
30-Jul-2010 |
James Dong <jdong@google.com> |
Add lost frame handling in AudioSource - Also collect stats on lost audio frames instead of time spent on reading Change-Id: I6380b143e4fbdcd894491aaae523331e90d0f04f
/frameworks/base/media/libstagefright/AudioSource.cpp
|
53d4e0d58e2d5c18f6e026c705af833b9bdd7aba |
|
21-Jul-2010 |
James Dong <jdong@google.com> |
Allows the authoring engine to skip frame. This is 1st part of the work to allow audio and video resync if we found out that audio and video are out of sync during authoring - also fixed a problem in AACEncoder::read() where the buffer acquired from the buffer group does not release when error out at reading from source. Change-Id: I8a2740097fcfdf85e6178869afeb9f3687a99118
/frameworks/base/media/libstagefright/AudioSource.cpp
|
57e7f83c0336db3f03666f077bce4c2692a88cf6 |
|
25-Jun-2010 |
James Dong <jdong@google.com> |
Track maximum amplitude and fix getMaxAmplitude() - only start to track the max amplitude after the first call to getMaxAmplitude() Change-Id: I64d3d9ca0542202a8535a211425e8bccceca50fc
/frameworks/base/media/libstagefright/AudioSource.cpp
|
36e573bf7db5888f92c52eda26e0771aaa2406e4 |
|
19-Jun-2010 |
James Dong <jdong@google.com> |
Audio/video sync during recording (second part) Change-Id: Iba0b35f57fdeac7ee1da16899406bf4b957a2c8c
/frameworks/base/media/libstagefright/AudioSource.cpp
|
d77d2a980c6fbdc00b7d62a34d9b799dcf8c9514 |
|
15-Jun-2010 |
James Dong <jdong@google.com> |
Remove hard-coded number of audio channels in AudioSource Change-Id: I5f362252c25e2251bbfa9818b711ee23b4975248
/frameworks/base/media/libstagefright/AudioSource.cpp
|
08c7473ce9b601e170fd79c530f106bf74277a0f |
|
10-Jun-2010 |
James Dong <jdong@google.com> |
Initial checkin for pause and resume control Change-Id: Ibdcf7bea5fb66baa81878704ba4091dfcfe382ee
/frameworks/base/media/libstagefright/AudioSource.cpp
|
dae9fd31907c62712f7a96bb2a8e288b0cca57c2 |
|
04-Jun-2010 |
James Dong <jdong@google.com> |
Initial check-in for collecting stats from authoring engine at runtime Change-Id: I93a9d8bd260efc5e7fc135b726e3f1307c6df794
/frameworks/base/media/libstagefright/AudioSource.cpp
|
abed93a51b6b476ecb23a2c22faa43a219eb60a7 |
|
23-Apr-2010 |
James Dong <jdong@google.com> |
Support AAC recording - Extend the audio recording to AAC format - Add support for setting some recording parameters - Add stss box to the meta data in the recorded file Change-Id: I41167bfd9d70ef9cd33906f8437b39c232b6d3b7
/frameworks/base/media/libstagefright/AudioSource.cpp
|
07bf09da4a365282fc35f800b62a83e0fa5533e2 |
|
25-Jan-2010 |
Andreas Huber <andih@google.com> |
Initial checkin of AudioSource and AMRWriter, a pair of classes supporting pure-audio recording in stagefright. related-to-bug: 2295449
/frameworks/base/media/libstagefright/AudioSource.cpp
|