Age | Commit message (Collapse) | Author |
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tinyalsa_new/+/15310734
Change-Id: I360b7172db19fbedff0a26597702af27e0956f65
|
|
The pcm_hw_close refused to close the zero fd. Add "equal to"
condition and modify the type of fd to int to close the zero fd.
Bug: 192152106
Test: mm libtinyalsav2
Merged-In: I271429b818a147917c21dece1a37e583e421c892
Change-Id: I7f99e83c253b4eb9a11193322ac884ccfc7be099
|
|
am: 59f20cf872
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tinyalsa_new/+/14964692
Change-Id: I5d2aac8e4f3bc8e141bca0f2c22cb52192d43f90
|
|
Bug: 187912470
Test: mm libtinyalsav2 tinyplay2 tinymix2 tinypcminfo2 tinycap2
Merged-In: If3f8921d932bf7d680ab6ef9002505c2f7b47f6c
Change-Id: I6a601ef06c9a9308b71ee8b9e79b8b6609e28068
|
|
6739ee51da
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tinyalsa_new/+/14835529
Change-Id: I555e0b90fc5d10f6565a07d68e42dbf8784fec1d
|
|
sc-dev
Bug: 187912470
Test: mm libtinyalsav2 tinyplay2 tinymix2 tinypcminfo2 tinycap2
Merged-In: If3f8921d932bf7d680ab6ef9002505c2f7b47f6c
Merged-In: Ia70bcf78571fd1bebf3d3d69f87de7554a99f929
Change-Id: Iffb8556f2cb4cae0f255c6b59cf986af52a1e149
|
|
Bug: 187912470
Test: mm libtinyalsav2 tinyplay2 tinymix2 tinypcminfo2 tinycap2
Change-Id: If3f8921d932bf7d680ab6ef9002505c2f7b47f6c
|
|
force pcm_open to open device with the non-blocking flag
|
|
When a client opens a PCM device whose substreams are all occupied
without the non-blocking flag, the open function would be blocked in
the kernel until the previous opened ones are closed. This would
cause deadlock if they try to hold the same lock. Most of the ALSA
PCM drivers on embedded systems are implemented with the ALSA SOC
framework. Each PCM device has only one substream. This problem would
happen frequently. To force pcm_open to open PCM devices with
non-blocking flag is beneficial to resolve this problem. It returns
the control to clients to try again later.
The reason why we don't call pcm_open with PCM_NONBLOCK is that the
PCM_NONBLOCK also affects the read and write behaviors.
I also add a test case to test whether the pcm_open would be blocked.
|
|
a2295bf0ff
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1718970
Change-Id: If2d6e93e5cd7c189d8c5232108266160b5d8a35a
|
|
Bug: 187912470
Bug: 180934608
Test: mm libtinyalsav2 tinyplay2 tinymix2 tinypcminfo2 tinycap2
Change-Id: Ia70bcf78571fd1bebf3d3d69f87de7554a99f929
|
|
Fix compatible issue and refine null parameters checking
|
|
There are some drivers assigning wrong ranges of mixer control's values.
Let ALSA drivers to check whether values are in ranges.
|
|
|
|
|
|
fix a variable name in tests
|
|
|
|
62e402fb24 am: 6f0089016a am: 61254c737f
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1639959
Change-Id: If409a3721cc0d66e066e319e658f84b1713ef1fe
|
|
62e402fb24 am: 6f0089016a
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1639959
Change-Id: I5ab62bfc39f72843a31536cc0b1300afcbfdc4d7
|
|
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1639959
Change-Id: I7135873b66f418b51d9e970133e28c0fbf0dbae5
|
|
aosp/master
Bug: 132165380
Test: mm libtinyalsav2 tinyplay2 tinymix2 tinypcminfo2 tinycap2
Change-Id: I59ab5c96ef8b58f66c11db34b63c21f641f5bee5
|
|
floating-point PCM support
|
|
This change also fixes overwriting the appl_ptr and avail_min when calling
the pcm_state function.
|
|
|
|
|
|
Sync AOSP: [LSC] Add LOCAL_LICENSE_KINDS to external/tinyalsa_new
|
|
https://android.googlesource.com/platform/external/tinyalsa_new/+/535e6ea3edcb6e119d465073facc3b2a338bdcb1
[LSC] Add LOCAL_LICENSE_KINDS to external/tinyalsa_new
Added SPDX-license-identifier-BSD SPDX-license-identifier-Unlicense to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I21fe326f57f35b252901cf1423c4af149694fb51
|
|
59ec086f3b am: 2901cc5713
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1588897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3a0a1c2e6f0b491ff921d07a29a12b3890c1c4c1
|
|
59ec086f3b
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1588897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1b83e3e48904c6cf334ddf3a76d90eccbdfc9637
|
|
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1588897
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic8017195ff9f53d97803e18a1f08895fdf8ec632
|
|
Added SPDX-license-identifier-BSD SPDX-license-identifier-Unlicense to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I21fe326f57f35b252901cf1423c4af149694fb51
|
|
fix bugs
|
|
|
|
|
|
The pcm_readi and pcm_writei also can deal with the mmap read/write.
Also mark the pcm_mmap_read/write functions as deprecated functions and
update the test case.
Add mmap playback support to tinyplay
|
|
|
|
7afe0ebde3" into rvc-qpr-dev-plus-aosp am: d4a919e292
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tinyalsa_new/+/13409597
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I45973c0251375ab6025d50c2960f054f21a65d19
|
|
7afe0ebde3" into rvc-qpr-dev-plus-aosp
|
|
am: 673d28b14e
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1557649
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I92ee4b31e8d695c72607f2f736ec7c302a7f33a6
|
|
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1557649
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I58fd51ecdb2d0282b7bde46dde7cf6f7a7c3ce31
|
|
Change-Id: Ib0f88a23137b48b47ad672bb3c861a821f47b7bf
|
|
Original change: https://android-review.googlesource.com/c/platform/external/tinyalsa_new/+/1557649
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia9df1936ca83dd1707e680bb73bee4e63df6131a
|
|
Bug: 134958010
Test: make -j128, make checkbuild -j128, m WITH_TIDY=1 libtinyalsav2
Change-Id: I96dda7d46d2bf5390a4e2c9968fda4ebf76884aa
|
|
|
|
add LICENSE file and rename modules in Android.bp
|
|
|
|
|
|
For the dynamic pcm device, it is valid to specify the backend after
opening it. However, it is invalid to call prepare on a dynamic pcm
device without connecting any backend device. We should not do
pcm_prepare in pcm_open.
See also: Issue #197
|
|
1. sync hw ptr before calculating the avail
2. return zero when reading or writing successfully
|
|
1. Align the document and the code.
2. Copy error messages to bad_pcm object for client to get more info
when opening failed.
|