558 Commits

Author SHA1 Message Date
Robert 755da8b5ec !3 feat:add hdf component
Merge pull request !3 from 张锋喜/master
2022-01-15 10:01:02 +00:00
zhang 94169dfd68 feat:add hdf component
Signed-off-by: zhang <zhangfengxi@huawei.com>
2022-01-15 11:27:28 +08:00
Robert 85beb4dd21 update LICENSE.
Signed-off-by: minglonghuang <minglong@iscas.ac.cn>
2021-12-31 10:35:37 +00:00
zhao_haipeng 41217ae485 update OAT.xml.
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-12-31 06:28:01 +00:00
Robert 1004379950 update README.OpenSource.
Signed-off-by: Kelei Liang <kelei@iscas.ac.cn>
2021-12-31 06:10:51 +00:00
zhao_haipeng a09ebfb871 update OAT.xml,
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-12-31 06:05:14 +00:00
openharmony_sig_ci 7aafa0de68 update OAT.xml.
Signed-off-by: chaoyang <cuichaoyang136@163.com>
2021-12-31 05:54:08 +00:00
Robert e42cbfb09e update LICENSE.
Signed-off-by: Kelei Liang <kelei@iscas.ac.cn>
2021-12-31 05:52:45 +00:00
zhao_haipeng 3663e20832 update OAT.xml projectPolicy.
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-12-31 04:39:07 +00:00
Kelei Liang 42b29f991b extend more licence to solve CI issue
Signed-off-by: Kelei Liang <kelei@iscas.ac.cn>
2021-12-31 12:03:09 +08:00
openharmony_sig_ci b5a391f6e4 !5 BUILD.gn add license_file path
Merge pull request !5 from zhao_haipeng/hihope-origin
2021-11-18 02:35:36 +00:00
zhao_haipeng 20687160ba BUILD.gn add license_file path
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-17 15:23:42 +08:00
openharmony_sig_ci 4569772d86 !3 Missing README.OpenSource open source description file
Merge pull request !3 from zhao_haipeng/master
2021-11-17 04:46:51 +00:00
openharmony_sig_ci 9aa6bb81ef !4 OAT.xml commit
Merge pull request !4 from zhao_haipeng/hihope-origin
2021-11-17 04:46:10 +00:00
zhao_haipeng c12dca9a88 README.OpenSource commit
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-17 10:41:27 +08:00
zhao_haipeng f22df7fa0c OAT.xml commit
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-17 10:35:18 +08:00
zhao_haipeng 2a2187126c Missing README.OpenSource open source description file
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-16 18:12:33 +08:00
zhao_haipeng 02e8ef8fa8 Missing README.OpenSource open source description file
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-16 18:08:32 +08:00
Robert 13abea0908 !2 tinyalsa adapter rk3568
Merge pull request !2 from zhao_haipeng/master
2021-11-16 09:30:38 +00:00
zhao_haipeng 1d25288d24 tinyalsa adapter rk3568
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-16 14:31:35 +08:00
zhao_haipeng 10f33ec7a3 tinyalsa adapter rk3568
Signed-off-by: zhao_haipeng <zhao_haipeng@hoperun.com>
2021-11-16 14:25:33 +08:00
dvdli ddd99c8e23 Merge pull request #198 from dvdli/tinyalsa-dev
fix bugs
v2.0.0
2021-02-01 13:29:04 +08:00
dvdli e93cd3cb47 upgrade Travis CI dist to bionic 2021-01-29 14:31:15 +08:00
dvdli a003e01ecd fix test case to match the API 2021-01-28 17:46:05 +08:00
dvdli 61ed424e2b Let pcm_mmap_read/write call pcm_readi/writei
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
2021-01-28 15:14:34 +08:00
dvdli 1db8c1f78a prepare in pcm_generic_transfer 2021-01-28 14:25:40 +08:00
dvdli a8ea24a676 Merge pull request #200 from dvdli/tinyalsa-aosp
add LICENSE file and rename modules in Android.bp
2021-01-20 11:50:37 +08:00
dvdli 16d2e46f32 add LICENSE file and rename modules in Android.bp 2021-01-20 11:36:15 +08:00
dvdli 09d8a4cdb4 fix integer character ascii range 2021-01-12 18:09:46 +08:00
dvdli a72d982b0d remove pcm_prepare in pcm_open
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
2021-01-12 15:55:49 +08:00
dvdli 88e2d3a438 fix mmap-related functions' bugs
1. sync hw ptr before calculating the avail
2. return zero when reading or writing successfully
2020-12-09 15:49:00 +08:00
dvdli cc04ef66f5 fix bugs in the pcm_open_* functions
1. Align the document and the code.
2. Copy error messages to bad_pcm object for client to get more info
   when opening failed.
2020-12-09 15:14:10 +08:00
dvdli 57ff1ba0cd Merge pull request #194 from dvdli/tinymix-dev
Fix tinymix bugs and support setting negative values
2020-12-09 15:04:44 +08:00
dvdli 4c0d4be795 correct index of integer string and reduce the life time of variables 2020-12-09 14:18:56 +08:00
dvdli f201a65f16 add usage of VALUES 2020-12-07 16:30:50 +08:00
dvdli e3939c5b85 add support setting negative values to tinymix 2020-12-07 15:03:16 +08:00
dvdli f7fcb287d1 formatting and remove tinymix prefix of static functions 2020-12-07 11:47:42 +08:00
dvdli 61f14087f3 duplicate an argv list to avoid the argv order changed 2020-12-07 11:16:14 +08:00
dvdli 8984e0e2a6 fix printing format and wrong control for data printing
tinymix_detail_control took controls' name as its parameter to
identify which control is that we want to print data of. However,
if there are some controls with same name, we will always print
the data of the first one.
2020-12-04 10:24:31 +08:00
dvdli a2e22bb593 Merge pull request #192 from dvdli/android-aosp-sync
fix build breakage in Android
2020-12-04 09:54:51 +08:00
dvdli ee280e8ade Merge pull request #191 from dvdli/tinyalsa-tests
Tests for libtinyalsa
2020-12-04 09:54:26 +08:00
David Li d9622de48b fix build breakage
1. Add a missing field and a function
2. Disable the deprecated attribute in Android temporarily to
   allow us to use "pcm_read/write" which are deprecated upstream
3. Remove an unused define and an include in mixer.h
4. Add mixer_ctl_event and copy the snd_ctl_event to mixer_ctl_event
5. Add pcm_ioctl function and mark as deprecated function
2020-12-02 07:46:19 +00:00
dvdli 0821e39571 fix typo, add comments to describe the tests and fix the loopback test 2020-12-02 15:20:20 +08:00
dvdli 5818ecf32c add instructions to run tests and fix typo 2020-12-01 14:10:34 +08:00
dvdli 903411c837 add unit tests
1. add mixer event test
2. add pcm capturing test
3. add pcm loopback test
2020-11-26 11:11:19 +08:00
dvdli b4dbaa08e3 add unit tests for mixer related functions 2020-11-23 11:39:27 +08:00
dvdli 8c6aba1c8d add unit tests for pcm_* functions 2020-11-16 17:07:04 +08:00
dvdli 87c428fa10 Merge pull request #189 from wksuper/master
Backward compatible for pcm_write() pcm_read()
2020-11-04 13:53:36 +08:00
dvdli df7a77773c Merge pull request #190 from dvdli/tinyplay-dev
Fix tinyplay bugs
2020-11-04 13:52:23 +08:00
dvdli 5cd807562c calcuate the thresholds after options parsing
The period size and count may be changed after options parsing. We need
to set proper threshoulds.
2020-11-02 16:42:37 +08:00