| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I180a4b65a655bcc4ede9f7036d1c9b6daf4c8dbd
|
|
|
|
|
|
| |
and unnecessary media includes
Change-Id: Ic889aac0e12979d5c5fef6a58ee9917a4864039e
|
|
|
|
|
|
|
|
|
|
|
| |
Bring playback and capture buffer size back to their initial size.
Current size was dictated by constraints in early voice processing implementation
but is not necessary anymore.
Increasing buffer size will help in power consumption and limit possible occurence
of audio skipping during playback and capture.
Change-Id: I7837c62e11700ed5c9a26f52fb27170add09721d
|
|
|
|
|
|
|
|
| |
Modifications for new C interface to echo reference and resampler.
Also release echo reference if needed when closing an output stream.
Change-Id: I9e8b524effad66798a61e80b5fec1779558cce1e
|
|
|
|
|
|
|
| |
Moved echo reference and resampler code to audio utils
library so that they can be shared by other audio HALs.
Change-Id: I7ab88843cc58ecc276bc4ccbbdc826c8c0b4a430
|
|
|
|
|
|
|
|
| |
The echo reference discards or inserts (silent) frames according to underruns
or overruns.
It always returns an echo buffer which delay from current capture buffer is 0.
Change-Id: Ifea06a47fe87f2b75d4d04737c495a9867d1c4bd
|
|
|
|
|
|
|
|
|
|
|
| |
Added EchoReference class enabling the input stream to access the
audio data written to the output stream and push it as echo reference
to the AEC.
Also added methods to calculate the echo delay.
Moved ReSampler class to a separate source file.
Change-Id: I9c3388f39101d567240545eab271eb61c97e7b56
|
|
|
|
|
|
| |
Added calls to audio preprocessings for input streams.
Change-Id: I1c655005b62b235e5d5d671634227f4a99eee43e
|
|
|
|
| |
Change-Id: I0fcfbbddc9716e5c39b3d78032222c7babaa46bd
|
|
|
|
|
|
|
| |
Use speex resampler for more flexibility and prepare integration
of audio pre processing which require upsampling.
Change-Id: I7dd234bd89116d028655a043c84c1a18faf3bc67
|
|
|
|
|
|
|
|
|
|
| |
Audio HAL now uses tinyalsa library to interface to alsa kernel drivers.
Removed local thin alsa user space implementation.
Also modified value of AUDIO_HW_IN_SAMPLERATE to match actual
sampling rate when reading from kernel pcm device.
Change-Id: Id0b2d166f3ab2f2291bf49b36c7085b21135ceea
|
|
|
|
|
| |
Change-Id: Ia4134c310a8e854d85c3584907a4da07355cc2b3
Signed-off-by: Dima Zavin <dima@android.com>
|
|\
| |
| |
| |
| | |
* commit 'e8106736688d60b730873969dba4b60a64cae5e3':
SOUND: set incall volume when user starts call.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
modem side doesn't store volume setting when device is rebooted.
When audio mode is incall, set current voice volume to modem.
Current incall volume is stored when upper layer sets or AudioService is started.
Change-Id: Icfeb0273dda55354e207d464884ef99f41c5fdec
Signed-off-by: UK KIM <w0806.kim@samsung.com>
|
|\ \
| |/
| |
| |
| | |
* commit '4b36da0e37942aa0547d2e31731f88b947f48a64':
Added support for TTY
|
| |
| |
| |
| | |
Change-Id: I60e8ae30da4c3879bdd6a272dd65f6add4d1f520
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rely on the audio input source parameter for mixer configuration.
The generic APM implementation now passes the audio recording
source as a configuration parameter, and uses the enum defined
in mediarecorder.h. But the driver uses a string to define
the "input source state". This change maps the input source
to the string used by the driver.
Change-Id: I5fce44579a3cda01ed73f67fb8c3091ef05cce76
|
|\ \
| |/
| |
| |
| | |
* commit '92786a1ce7e7dd078d1a5c05411715d4a617dc57':
Fix issue 3305305.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem is that when the voice search tone is started, audio capture
is still active and the output stream write function needs to place
the input stream in standby to reconfigure the kernel driver.
To do so it has to acquire the input stream mutex but as the input stream thread
holds the lock most of the time while sleeping in the driver waiting for more data,
this is very difficult and can take several seconds.
The fix consists in forcing a sleep in the next read() when another function needs
to acquire the input stream lock.
The same change is done for output stream write() function.
Also removed the workaround for issue 3201189 in setMode() (thread priority bump) as this
change addresses the same problem.
Change-Id: I3a5e672717752f83dfedce822a18748b165b0a5a
|
|/
|
|
| |
Change-Id: Iab2b74f8eb505e3f474f2d768b1e00964c214526
|
|
Change-Id: I0a6492f7c834ea572531e77f75486bcc385e345b
|