summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Fix volume problems with insert revertEric Laurent2010-09-133-28/+121
| | | | | | | | | | | | | | | | | - Use a constant input level to the reverb engine and implement volume control in the insert reverb. This avoids the volume spikes when an effect that was inserted after the reverb is disabled or removed. - Fix clicks (one silent buffer) at the end of the reverb disable period. - Modified volume management in audioflinger so that the volume ramp is also done by the insert effect if present when the track is paused (avoids clicks). - Increased room level for all presets. Also fixed problems with output stage session (-1): - effect bundle wrapper was not designed to support session -1 - the permission check in audioflinger for using session -1 failed due to a wrong usage of getCallingPid() Change-Id: Id1ff51327263364bf71d3f2668fa5cde4311d84f
* Merge "LVM release 1.09 delivery" into gingerbreadEric Laurent2010-09-104-135/+69
|\
| * LVM release 1.09 deliveryEric Laurent2010-09-094-135/+69
| | | | | | | | | | | | | | | | | | | | | | - Reverb: - 1 channel mixed has gain zero - core componenet now only outputs STEREO samples - wrapper now handles only STEREO from the Reverb Core - Bass Boost: - increase scratch memory Change-Id: I00ae31051cc40a7006fc993420facfeb4d30dc52
* | TimedEventQueue now explicitly sets its scheduling policy to foreground as ↵Andreas Huber2010-09-091-0/+4
| | | | | | | | | | | | | | it should. Change-Id: I630c9fb51686d87a4075f01a6d7f6f9139ddcb4b related-to-bug: 2944452
* | Merge "Instead of asserting return a runtime error if the maximum sample ↵Andreas Huber2010-09-091-1/+5
|\ \ | | | | | | | | | size cannot be determined." into gingerbread
| * | Instead of asserting return a runtime error if the maximum sample size ↵Andreas Huber2010-09-091-1/+5
| | | | | | | | | | | | | | | | | | | | | cannot be determined. Change-Id: Icf17ed04323f5415e0f9f1e4fd9f19ca60ce15ac related-to-bug: 2602446
* | | Merge "When 32-bit offset is used, if the requested max file size is greater ↵James Dong2010-09-091-3/+4
|\ \ \ | |/ / |/| | | | | than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread
| * | When 32-bit offset is used,James Dong2010-09-081-3/+4
| | | | | | | | | | | | | | | | | | | | | if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit. Change-Id: Ie74cbed98469721d4280a0b87491e888948f0046
* | | Instead of asserting, publish no tracks if an MP3Extractor is used on ↵Andreas Huber2010-09-092-40/+41
| |/ |/| | | | | | | | | | | non-mp3 content. Change-Id: I26db4524c5306bf2346438d2bd359c5cfb95cead related-to-bug: 2900419
* | Merge "HW audio encoder expects timestamp via kKeyTime from each input ↵James Dong2010-09-084-4/+6
|\ \ | | | | | | | | | buffer" into gingerbread
| * | HW audio encoder expects timestamp via kKeyTime from each input bufferJames Dong2010-09-084-4/+6
| |/ | | | | | | | | | | - This fixes media server crashes on droid Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
* | Modify type of some environmental reverb parametersEric Laurent2010-09-081-14/+16
|/ | | | | | | | | Changed type of decay time, reverb delay and reflections delay parameters from signed to unsigned int to match OpenSL ES interface definition. Also fixed some type casts in lvm reverb wrapper. Change-Id: I5ca5e76a87c2590f01f031f3168355586ef22556
* Merge "LVM release 1.08 delivery." into gingerbreadEric Laurent2010-09-035-41/+69
|\
| * LVM release 1.08 delivery.Eric Laurent2010-09-035-41/+69
| | | | | | | | | | | | | | | | - Changed bundle SamplesToExit to 0.1 secs - Added SamplesToExit to Revreb - Removed mixer from Core reverb Change-Id: I675ec22889f20ef35a0ac427600c2654111c397e
* | Merge "Not all audio source has the drift time information" into gingerbreadJames Dong2010-09-033-12/+15
|\ \ | |/ |/|
| * Not all audio source has the drift time informationJames Dong2010-09-033-12/+15
| | | | | | | | Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
* | Ogg files can be tagged to be automatically looping, this setting always ↵Andreas Huber2010-09-033-4/+16
| | | | | | | | | | | | | | overrides the MediaPlayer's setLooping setting. Change-Id: Ifb564c6cdf6137eac14869f9ca7d471f05a5556a related-to-bug: 2974691
* | Merge "Properly buffer a certain amount of data on streaming sources before ↵Andreas Huber2010-09-032-88/+119
|\ \ | |/ |/| | | finishing prepare()." into gingerbread
| * Properly buffer a certain amount of data on streaming sources before ↵Andreas Huber2010-09-032-88/+119
| | | | | | | | | | | | | | finishing prepare(). Change-Id: I39bf3c6dafcbe003b51dea4795742dcd8548f207 related-to-bug: 2875110
* | Remove unused/debugging code from MP4 file writerJames Dong2010-09-031-204/+47
| | | | | | | | | | | | o also makes nal length in the recorded file modifiable at runtime Change-Id: I731b4dde7070d8d9628b36b523a5b2c011c7c2cf
* | Better file size estimateJames Dong2010-09-021-34/+103
|/ | | | | | | | | When the recorded file becomes large, the metadata size can no longer be ignored. This makes it possible to save the recorded file when the storage becomes almost full at the end of the recording session. Change-Id: Ief038080f825c9946ce550949c03e914aec1e31a
* Calculate audio media drift time from AudioSourceJames Dong2010-09-015-31/+60
| | | | | | | | | | | | | | | | | | | 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
* Merge "Better support for buffered streaming of rtsp content, if buffer ↵Andreas Huber2010-09-015-2/+77
|\ | | | | | | drops below a certain threshold we will temporarily pause playback until we have sufficient data." into gingerbread
| * Better support for buffered streaming of rtsp content, if buffer drops below ↵Andreas Huber2010-09-015-2/+77
| | | | | | | | | | | | | | a certain threshold we will temporarily pause playback until we have sufficient data. Change-Id: Ice8564e902e48c89c9c00f6651c5504b3c41fcad related-to-bug: 2556656
* | Merge "Make sure that if initialization fails, AudioSource still behaves ↵James Dong2010-09-011-4/+17
|\ \ | |/ |/| | | well." into gingerbread
| * Make sure that if initialization fails, AudioSource still behaves well.James Dong2010-09-011-4/+17
| | | | | | | | Change-Id: I16dfc90bcb8a324d6ee9a38a5a1a31cc094c820a
* | Merge "Keep gtalk video chat specific code consistent with rtsp changes." ↵Andreas Huber2010-09-011-0/+8
|\ \ | | | | | | | | | into gingerbread
| * | Keep gtalk video chat specific code consistent with rtsp changes.Andreas Huber2010-09-011-0/+8
| | | | | | | | | | | | Change-Id: I5f3f46c2150e16b26674432e427f79c04a69cd8e
* | | Properly extract all raw_data_blocks from an ADSP mpeg4 audio buffer.Andreas Huber2010-09-012-5/+74
| | | | | | | | | | | | | | | Change-Id: I15e21eae50beb6057024ea42a7e9bf3b8d8a0603 related-to-bug: 2368598
* | | Audio Effects: fix problems in volume control.Eric Laurent2010-08-311-8/+22
|/ / | | | | | | | | | | | | | | | | | | | | | | | | - Fixed click when re-enabling effect during the turn off phase: make sure the effect states where effect is processed are the same where volume control is delegated to effect. - Fixed click when effect is deleted while still active: do not apply volume ramp if an effect having volume control was just removed from the effect chain. Also fixed a crash when PCM dump is enabled in effect bundle wrapper. Change-Id: Ib562f5cf75c69af75df0e862536262e2514493e4
* | Merge "Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and ↵Andreas Huber2010-08-314-6/+345
|\ \ | | | | | | | | | AAC-hbr." into gingerbread
| * | Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.Andreas Huber2010-08-314-6/+345
| |/ | | | | | | | | Change-Id: Ied92ea8c2448a2cb1a732c72c21c69da1913dbc8 related-to-bug: 2556656
* | Better detection of connection problems - timeout if no rtcp packets arrive ↵Andreas Huber2010-08-312-43/+67
|/ | | | | | | within a certain time, not a final frame (which may take longer) Change-Id: I3c1ae79bb9342770e959ebdcdc6b748549b76330 related-to-bug: 2556656
* fixedfft: Only includes cpu-features.h when __arm__ is defined.Chia-chi Yeh2010-08-311-1/+1
| | | | Change-Id: Ifb6c03b38eff3c94a507ceb5043fcc48b364c25c
* Merge "Recent changes to the rtsp code require every buffer fed to the ↵Andreas Huber2010-08-301-0/+1
|\ | | | | | | packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder." into gingerbread
| * Recent changes to the rtsp code require every buffer fed to the packet ↵Andreas Huber2010-08-301-0/+1
| | | | | | | | | | | | source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder. Change-Id: Ib8615ce5a89a9a846ee2f9f96cdfb23462f72c7a
* | Instead of closing the connection altogether if no UDP packets arrive after ↵Andreas Huber2010-08-302-32/+83
|/ | | | | | | a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection. Change-Id: Ie8d6a3865a0477e28d4b76bb9038e468451287b1 related-to-bug: 2556656
* Merge "Reverse the default setting of media.stagefright.enable-{rtsp,record} ↵Andreas Huber2010-08-302-4/+4
|\ | | | | | | in preparation for building without opencore." into gingerbread
| * Reverse the default setting of media.stagefright.enable-{rtsp,record} in ↵Andreas Huber2010-08-302-4/+4
| | | | | | | | | | | | | | preparation for building without opencore. Change-Id: I1ca6bd8faba0185f9694f9dc04d2b3e6a7ab5ac3 related-to-bug: 2370115
* | Merge "LVM release 1.07 delivery." into gingerbreadEric Laurent2010-08-30188-1599/+231
|\ \ | |/ |/|
| * LVM release 1.07 delivery.Eric Laurent2010-08-27188-1599/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Virtualizer now uses the correct control parameter, instead of reverberation - Volume smoothing for first frame has been added - Equalizer_setParameter now returns correct error code - Correcting Non-Linear compressor gain step noise during transitions and effect level changes - Removed SVN header blocks - Memory and MIPS values have been added to the API - Reverb uses a more efficient malloc for input PCM - Reverb DecayHFRatio now ranges up to 2000 - Logging has been removed for most volume functions Change-Id: Ib59e7e331263c3811559231b4ae90c82e34a8421
* | Finetune some rtsp timeout constants.Andreas Huber2010-08-301-3/+11
| | | | | | | | Change-Id: Ice731c5097c2a2dee8a7f0cd45b547cd34f532c6
* | Merge "ALoopers can now be named (useful to distinguish threads)." into ↵Andreas Huber2010-08-305-4/+13
|\ \ | | | | | | | | | gingerbread
| * | ALoopers can now be named (useful to distinguish threads).Andreas Huber2010-08-275-4/+13
| | | | | | | | | | | | Change-Id: Ieabaddb2e3a9e3a7a5bc36e55cd0721b60dbd50e
* | | Workaround for a QCOM issue where the output buffer size advertised by the ↵James Dong2010-08-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AVC encoder is occasionally too small. bug - 2882917 Change-Id: Id59d8529084c5689a26f272e0cd3b1e955fd8a30
* | | Merge "Suppress the video recording start signal - bug 2950297" into gingerbreadJames Dong2010-08-271-0/+46
|\ \ \ | |/ / |/| |
| * | Suppress the video recording start signalJames Dong2010-08-261-0/+46
| |/ | | | | | | | | | | - bug 2950297 Change-Id: I0044d07178691feb904cf81e87c1b6d4b714dc1a
* | Better support for rtsp (normal play-)time display. Better seek support, ↵Andreas Huber2010-08-2714-65/+302
| | | | | | | | | | | | | | timeout if no packets arrive for too long. Change-Id: Id491541a6ae501604cda815f8e961a3bfe26db7d related-to-bug: 2556656
* | We accidentally always aborted after 10 secs, even if the connection was fine.Andreas Huber2010-08-271-2/+1
|/ | | | Change-Id: I3f2ae2f46ae62b84b1e253658d7182c04ee3dfae
* Merge "Support for RTP packets arriving interleaved with RTSP responses." ↵Andreas Huber2010-08-266-21/+216
|\ | | | | | | into gingerbread