| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This avoids the high-pitched whine when changing the route from
speaker to headset by ensuring that no bytes are being transferred
through the ABE while the route is altered. It also means the
workaround to avoid the kernel panic when exiting standby in
out_write() can be removed.
Change-Id: I67d391d003bd90892622a212b45a394e2d15ff70
|
|
|
|
| |
Change-Id: Ic784c7fa0e82f6ef398548741b603b55d902ae5c
|
|
|
|
| |
Change-Id: I34894e039311e82feda05b0ac58b93518072244c
|
|
|
|
|
|
|
|
| |
- Enable start and standby of input stream
- Not tested sample rates other than 8/16
- Capture causes a kernel panic if a sound is not played first
Change-Id: I44ec338c7fb77c43b12f4d0ee19b9f12c7cc4ad6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When opening an output stream, the driver needs to return its
format, sample rate and channel mask. Failure to do so will
cause AudioFlinger to create the ouput as DIRECT, regardless of
the output flags.
The consequence of the output thread being in DIRECT mode is
that no mixing is done (one sound at a time), and only audio
that plays at the HAL's expected audio characteristics (44k
16bit stereo) can be played.
The fix consists in returning the format, chanel mask and sample
rate values when opening the output stream.
Change-Id: Ib26e3337fe199efdba7a70b40df93518aceec04a
|
|
|
|
|
|
|
|
|
| |
The analog microphone uplink stops working if any
downlink route is changed when the modem PCMs are
open, so as a workaround, only modify the earpiece
route when the modem PCMs are closed.
Change-Id: Ib725a28da5130546015a9e05da4fca4955ce90bd
|
|
|
|
| |
Change-Id: I0f5cb58d0f1fc0372f459a6fb55f30683da414d9
|
|
|
|
|
|
|
|
| |
With this change, the microphone now works during a voicecall.
The handsfree (speaker) route also works but it currently uses
the main mic instead of the sub mic.
Change-Id: I37aaaefc523b5a6ebc88058c58ccb5443428e3fa
|
|
|
|
|
|
|
| |
- Also ensured that PRODUCT_PACKAGES is set so that the
HAL is copied into the filesystem.
Change-Id: I89790e5aec1d6beb7d4650316ec070503a35c436
|
|
- PCM output works via music player
- Sometimes ringtones fail to play
- Modem routing is untested but present
- PCM input needs to be implemented
Change-Id: Ib58bef9674e1c9bb896be521c3d95c4e07e0442b
|