| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* changes:
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
|
| |
| |
| |
| | |
ordering restrictions.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
make sure EGL_ANDROID_swap_rectangle is actually supported before using it
|
| | | |
|
|\ \ \
| |/ /
| | /
| |/
|/| |
* changes:
Better error handling in EGL extensions
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Merge commit 'b8546001701405a76dad7e6235046e592296fac2'
* commit 'b8546001701405a76dad7e6235046e592296fac2':
Fix issue #2048263: More debugging information
|
| |
| |
| |
| |
| | |
We now hopefully do better about generating the anr reports, and include
information about the malloc loaded assets in meminfo.
|
| |
| |
| |
| |
| | |
Merge change 7419 from master that may help eliminate the problem.
This change was for a different use case (when disabling A2DP to switch output to SCO) but without a repro case it is worth trying.
|
| |
| |
| |
| |
| |
| |
| | |
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.
|
| |
| |
| |
| |
| | |
Apparently the problem is caused by the fact that A2dpAudioStreamOut::standby() calls a2dp_stop() after the headset has been powered down.
The workaround consists in indicating to A2DP audio hardware that a close request is pending and that stanby() must be bypassed.
|
| |
| |
| |
| | |
"SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
|
| |
| |
| |
| | |
"SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
|
| |
| |
| |
| |
| |
| | |
specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
|
| |
| |
| |
| |
| |
| |
| | |
clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.
The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.
Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
|
| |
| |
| |
| | |
Fixed cut/paste error causing constant reset of current frame index in input buffer.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
enable HW acceleration for the Dim Surface on 8k devices
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
fix the build
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
* changes:
Limit AudioFlinger mixer track sampling rate.
|
| |/ /
| | |
| | |
| | | |
When changing the audio output stream sampling rate with setParameters() make sure that all tracks have a sampling rate less or equal to 2 times the new output sampling rate.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex conform to that.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c++, so make spec.lex
conform to that.
|
|/ / / |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Let java put #defines into renderscript
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| | |
object destruction tracking.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* changes:
minor code clean-up
added EGLUtils::strerror
better error handling
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Add refraction and bettr normals computation to FallRS
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The BT headset detection now makes the difference between car kits and headsets, which can be used by audio policy manager.
The headset connection is also detected earlier, that is when the headset is connected and not when the SCO socket is connected as it was the case before. This allows the audio policy manager to suspend A2DP output while ringing if a SCO headset is connected.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There was no garanty that the corresponding thread destructor had been already called when exiting the closeOutput() or closeInput() functions.
This contructor could be called by the thread after the exit condition is signalled. By way of consequence, closeOutputStream() could be called after
we exited closeOutput() function.
To solve the problem, the call to closeOutputStream() or closeInputStream() is moved to closeOutput() or closeInput().
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The function checkForNewParameters_l() is called with the ThreadBase mutex mLock locked. In the case where the parameter change implies
an audio parameter modification (e.g. sampling rate) the function sendConfigEvent() is called which tries to lock mLock creating a deadlock.
The fix consists in creating a function equivalent to sendConfigEvent() that must be called with mLock locked and does not lock mLock.
Also added the possibility to have more than one set parameter request pending.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Fix problem in A2DP interface closeOutputStream().
|
| | | | |
| | | | |
| | | | |
| | | | | |
If the output stream handler passed was not the A2DP output stream, the request was ignored instead of being forwarded downstream to hardware interface.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Fix getParameters() default implementation.
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Do not return empty string but key value pairs with empty values.
|