Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-alsa-utils: コミット一覧

external/alsa-utils


RSS
Rev. 日時 作者
761e28e pie-x86 2019-03-15 20:22:22 Chih-Wei Huang

alsamixer: add exp10 for Android

Android doesn't have exp10 yet. Define it as before commit 116488e5f2f.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

5ab1d94 2019-03-15 20:22:09 Chih-Wei Huang

amixer: remove unnecessary prefix ../include/

All other files include "version.h" don't have the prefix ../include/.
It's unnecessary and causes trouble to Android porting.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

8361a98 2019-03-15 20:21:44 Chih-Wei Huang

Android: add makefile and config.h

This is the initial porting of alsa-utils 1.1.8 to Android.
Four tools are built: alsa_amixer, alsa_aplay, alsa_ctl, alsa_ucm.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

11e6de5 2019-03-14 01:21:16 Jaroslav Kysela

xfer: fix possible minor memory leak in xfer_options_parse_args() (coverity)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

30f9a14 2019-03-13 22:51:22 Jaroslav Kysela

axfer: return back unsigned avail variable, do proper retype in xfer-libasound-irq-mmap.c

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

8dcc3a1 2019-03-13 22:47:23 Jaroslav Kysela

alsaloop: remove unused assignment warning (coverity)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

8c026b9 2019-03-13 22:46:33 Jaroslav Kysela

alsactl: monitor - remove dead code in run_dispatcher() (coverity)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

9b6c5e2 2019-03-13 22:46:33 Jaroslav Kysela

aplay: check the return value for snd_pcm_sw_params_current() (coverity)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

819e04c 2019-03-13 22:42:42 Jaroslav Kysela

axfer: coverity fixes

- container-voc.c - out of array access
- container-voc.c - handle correctly eof
- frame_cache.c - correct memory allocation
- container.c - byte_count might be used uninitialized
- xfer-libasound-irq-mmap.c - fix avail signess
- xfer-options.c - fix potential 32-bit wrap for duration

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

bc42704 2019-03-13 01:36:11 Jaroslav Kysela

aplay: fix the multiple open file descriptors for the raw capture

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

6dc4b1e 2019-03-13 00:06:03 Jaroslav Kysela

arecordmidi: simple coverity fix

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

cf2cc37 2019-03-13 00:05:48 Jaroslav Kysela

alsactl: simple coverity fix

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

a558b71 2019-03-12 23:53:03 Jaroslav Kysela

alsa-info.sh: cleanups

- fix awk arguments
- backticks/gravemarks removal
- some cosmetic and indentation changes
- add REQUIRES to check the basic tools

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

52c9cc9 2019-02-11 17:13:47 Prashant Malani

seq: arecordmidi: Add num-events option

Add a command line option to automatically exit after recording a fixed
number of MIDI events. This allows a program using arecordmidi to expect
a MIDI file to be written automatically when the specified number of
events have been received, instead of having to send a SIGINT or SIGTERM
programmatically.

It also avoids the need to have the arecordmidi process running in the
background, and then constantly stat the output file to check if any
bytes have been written to it (this makes for less predictable and
longer-running tests).

This functionality finds use in Chrome OS functional testing, since
having to send SIGTERM/SIGINT programmatically and then wait for the
output file adds unpredictability and delay to the tests.

The addition of this command-line option should (hopefully) not break
any existing usage.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

6fdaa0c 2019-01-30 00:48:00 Takashi Sakamoto

axfer: add missing header file of unit test to distribution

The file 'axfer/test/generator.h' is missing in distribution and brings
FTBFS for unit tests of axfer.

This commit fixes to add it.

Reported-by: Elimar Riesebieter <riesebie@lxtec.de>
Fixes: b878df1ff0b0: ('axfer: add unit test for container interface')
Fixes: 39d1ab8a0cb4: ('axfer: add a unit test for mapper interface')
Signed-off-by: Takashi Iwai <tiwai@suse.de>

257be19 2019-01-30 00:45:51 Takashi Sakamoto

axfer: allow to be compiled with glibc-2.11 or former

The program, axfer, was developed in userspace with glibc-2.28. This
userspace is mostly compliant to POSIX:2008 and some additional macros
for poll event are officially available. The glibc supports them as a
default since its v2.12 release. It will be failed to be compiled with
old glibc or the other libraries for C standard APIs.

One of the purpose of axfer is an better alternative of aplay. In a
point of the purpose, it's preferable to be compiled with the old
libraries.

This commit adds conditional macros to be compiled with libraries for
old compliance level of POSIX.

Reported-by: Jay Foster <jay@systech.com>
Fixes: fce16d9279b6 ('axfer: add an implementation of waiter for select(2)')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

2ba2066 2019-01-30 00:44:52 Takashi Sakamoto

axfer: add an entry of axfer to README

Axfer has beed added as a rework of aplay with robust design to
support recent features of Linux sound subsystem.

This commit adds an entry to README.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

9ed5d7c 2019-01-30 00:44:42 Takashi Sakamoto

axfer: correct invalid usage of escape of itaric text

A dot sign is valid for a prefix of instruction.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

fb03825 2019-01-30 00:44:35 Takashi Sakamoto

axfer: supplement value of options for the manual of transfer subcommand

This commit supplements value of options for the manual of transfer
subcommand.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

1848b38 2019-01-30 00:44:25 Takashi Sakamoto

axfer: correct message to notice that help text is implemented

Now help message is available to give help option to command line.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

827ed7d 2019-01-30 00:44:17 Takashi Sakamoto

axfer: correct description about snoop mode of libffado

The libffado library can listen to isochronous channels to which unit on
IEEE 1394 bus transfers packets as long as the unit allows software to
read the channel from its register.

This commit corrects description about snoop mode.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

b614261 2019-01-30 00:43:24 Takashi Sakamoto

axfer: fulfill section for backward compatibitity for chmap option

At present, axfer losts backward compatibility to aplay in a point of
'chmap' option.

This commit filfills a section to describe lose of backward compatibility
of chmap option.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

83bce86 2019-01-30 00:43:09 Takashi Sakamoto

axfer: add a section about unit test

Two unit tests are available to check internal implementation of axfer.
They perform file I/O for many times and take much time to finish.

This commit adds a section about it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

116488e 2019-01-18 17:40:54 Jaroslav Kysela

alsamixer: define _GNU_SOURCE to get exp10

Fixes Master, Headphones and Speaker stuck at -8 percentage after
building with Clang 7.0.1 and getting warned about implicit declaration
of exp10, which is behind _GNU_SOURCE as a non-standard feature. Thanks
Takashi Iwai for the CFLAGS suggestion on the mailing list. GCC build is
not affected, so not adding a compiler check to the configure script.

uClibc-ng has got exp10 since 1.0.12, so the fallback macro is no longer
needed. However, alsa-utils relies on gettext so might need further
patches to actually work on uClibc systems.

Signed-off-by: makepost <makepost@firemail.cc>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

e1aa6d4 2019-01-07 23:01:46 Jaroslav Kysela

Release v1.1.8

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

783c057 2019-01-07 22:57:55 Jaroslav Kysela

Makefile.am: add README.md to EXTRA_DIST

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

1ad002b 2019-01-07 19:51:05 Takashi Sakamoto

axfer: add an explanation about advantages/issues of Timer-based scheduling model

Timer-based scheduling model has some merits against IRQ-based
scheduling model. However, as of Linux kernel v4.21, ALSA PCM interface
between kernel/userspace has a lack of some features.

This commit adds a subsection to describe it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

87ed959 2019-01-07 19:50:51 Takashi Sakamoto

axfer: add an explanation about Timer-based scheduling model

This commit fulfills a subsection titled as 'Timer-based scheduling model'.

This scheduling model is introduced in a recent decade. In this model,
applications should take care of its timing to operate sampled data
according to any timer. This is an optional behaviour of runtime of
PCM substream.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

a01d54d 2019-01-07 19:50:35 Takashi Sakamoto

axfer: add an explanation about IRQ-based scheduling model

This commit adds a section titled as 'SCHEDULING MODEL' and fulfill a
subsection titled as 'IRQ-based scheduling model'.

This scheduling model is for a typical applications to operate a kind of
data sampled against actual time. In this model, ALSA PCM core maintains
timing of the applications with notification of hardware by
blocking/waking up their processes. This is a default behaviour of
runtime of PCM substream.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

1c23150 2019-01-02 19:25:07 Takashi Sakamoto

axfer: add text for compatibility loss of sw parameter in libasound backend

At present, some options for software parameters have actual effects in
cases neither mmap operation nor timer-based scheduling model is used.
For mmap operation, backward compatibility to aplay(1) is lost.

This commit adds descriptions about it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

旧リポジトリブラウザで表示