• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/libaudio


RSS
Rev. Time Author
f2ca20d nougat-x86 oreo-x86 android-x86-7.1-r2 2018-04-10 18:02:56 Chih-Wei Huang

audio_hw: ignore HdmiLpeAudio nodes

7b7bf02 android-x86-7.1-r1 2017-09-13 17:10:29 Chih-Wei Huang

audio_hw: allow to set sound card by properties

To manually specify the audio in and out device nodes, set the
properties like:

Audio in: hal.audio.in=pcmC1D0c
Audio out: hal.audio.out=pcmC1D3p

ce9a1b1 lollipop-x86 marshmallow-x86 2017-05-02 18:43:41 Valentin Manea

select_card: only open PCM devices with the same type as requested

Let select_card() only open /dev/snd/pcmCxp for playback and /dev/snd/pcmCxc
for capture device. This way select_card won't try to open a device twice.

In some cases the second query on a playback device(even though
select_card is searching for a capture device) will block inside the
kernel causing audio to stop working.

4f5006a android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2016-09-14 00:17:02 Chih-Wei Huang

audio_hw: select HDMI audio if notified by the framework

a5bc8ec 2016-09-13 01:48:57 Chih-Wei Huang

audio_hw: allow to select HDMI audio manually

Before we can select HDMI audio automatically, let the user
do it manually by setting hal.audio.primary.hdmi=1.

3ac7523 2016-08-15 22:23:39 Chih-Wei Huang

audio_hw: cache HDMI audio interface

Now we cache the HDMI audio interface as well to avoid misusing them.

We are near to fully support HDMI audio. What missed is the events
to trigger the switching between primary speaker and HDMI.

d2b37e0 2016-08-06 00:20:29 Chih-Wei Huang

Add IntelHDMI audio HAL

2bd5215 2016-08-05 18:22:44 Chih-Wei Huang

audio_route: avoid an unnecessary error

The change tries to remove the error message:

07-27 16:25:15.129 1249 1249 E audio_hw_primary: Unable to open the mixer, aborting.

However, audio_route still doesn't work properly unless
we put an appropriate mixer_paths.xml.

cea954f 2016-08-05 18:21:00 Chih-Wei Huang

audio_hw: search sound card more properly

Scan /dev/snd/ to find the appropriate sound card.
Ignore IntelHDMI since it's handled by another HAL.

4b6b612 2016-07-27 02:26:20 Chih-Wei Huang

audio_hw: add parameters to match new audio HAL

f8ac0ee 2016-07-27 02:21:33 Chih-Wei Huang

audio_hw: fix unused parameter warnings

96fdbee 2016-07-27 01:56:44 Chih-Wei Huang

audio_hw: deprecate audio_stream_frame_size()

07e51fd 2016-06-14 15:33:21 iGaminGoo

audio_policy.conf: make the headset microphone work

be03116 2015-10-16 01:26:16 Chih-Wei Huang

include the header for string functions prototypes

Also fixes the warning of unused parameter 'tag_name'.

cdbc332 2015-10-07 00:15:21 Chih-Wei Huang

fallback to sampling rates 44100 if possible

9dada96 2014-12-28 18:34:50 Chih-Wei Huang

Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86

cec8aca android-x86-4.4-r2 2014-12-28 03:49:17 Chih-Wei Huang

change the default sampling rates to 48000

The baytrail platform only supports 48000.
It won't affect others since all sound cards
I tested so far support 48000 as well.

f1d06d6 2014-11-06 13:23:46 Chih-Wei Huang

enable multiarch builds

Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
to support 64-bit targets.

Also add audio.r_submix.default.

293bd2c jb-x86 android-x86-4.4-r1 2013-12-09 19:54:34 Maksim Lin

audio_route: fix mediaserver crash

The segfault is because a null audio_route param is passed into
function reset_mixer_state.

Issue: 1209

1c2c376 2013-09-11 00:42:53 Tueidj

Fix bad sleep time

The bad sleep time occurs when pcm_get_htimestamp() fails, leaving
kernel_frames uninitialized and causing out->cur_write_threshold to be
set to a very large value. The following patch ensures kernel_frames is
initialized to a sane value, it should fix most of the "limiting sleep
time" warnings and stuttering audio caused by sleeping too much.

e7c00cd 2013-08-14 13:05:33 Chih-Wei Huang

add audio.usb.default

Suggested by Masaki Muranaka <monaka@monami-ya.jp>.

168c931 2013-02-04 18:45:38 Chih-Wei Huang

detect pcm card automatically

cfde6b1 2013-01-16 10:51:18 Chih-Wei Huang

audio hal for jb-x86

Import from device/asus/grouper/audio of AOSP.

898f53c 2011-12-23 00:53:25 Chih-Wei Huang

initial import