OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chih-Wei Huang [Tue, 22 Jun 2021 20:46:15 +0000 (04:46 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Mon, 21 Jun 2021 17:26:08 +0000 (01:26 +0800)]
Add files from alsa-ucm-conf
Chih-Wei Huang [Wed, 16 Jun 2021 16:22:31 +0000 (00:22 +0800)]
Add alsa_alsamixer and update config files for new alsa-lib
Chih-Wei Huang [Tue, 28 Apr 2020 06:58:50 +0000 (14:58 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
Francescodario Cuzzocrea [Sat, 25 Apr 2020 13:30:31 +0000 (15:30 +0200)]
libaudio: add headset-mic routing support
- this enables using headset microphone when connected
- it needs the headset-mic path declared in mixer_paths
Francescodario Cuzzocrea [Tue, 21 Apr 2020 22:59:27 +0000 (00:59 +0200)]
libaudio: remove panel orientation code
- makes little sense to keep this logic as the vast majority of PCs
have only one microphone. This was something Grouper specific.
Michael Goffioul [Wed, 22 Apr 2020 17:25:17 +0000 (13:25 -0400)]
Support preprocessing filters in audio HAL
This adds support for some preprocessing filters like NS and AGC in the
audio HAL. This does not include AEC.
Derived from audio HAL in device/samsung/tuna and vero2-android-audio
Chih-Wei Huang [Tue, 27 Aug 2019 08:01:47 +0000 (16:01 +0800)]
Fix USB audio output issue
Bugs: https://github.com/android-x86/android-x86.github.io/issues/54
Reported-and-fixed-by: Chales Yu <574249312@qq.com>
Chih-Wei Huang [Fri, 15 Mar 2019 09:41:07 +0000 (17:41 +0800)]
alsa.mk: add alsa_ucm
Chih-Wei Huang [Fri, 22 Feb 2019 10:47:57 +0000 (18:47 +0800)]
Fix building warnings
Chih-Wei Huang [Tue, 10 Apr 2018 09:02:56 +0000 (17:02 +0800)]
audio_hw: ignore HdmiLpeAudio nodes
Chih-Wei Huang [Wed, 13 Sep 2017 08:10:29 +0000 (16:10 +0800)]
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
Valentin Manea [Mon, 1 May 2017 19:32:36 +0000 (22:32 +0300)]
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.
Chih-Wei Huang [Tue, 13 Sep 2016 09:59:59 +0000 (17:59 +0800)]
audio_hw: select HDMI audio if notified by the framework
Chih-Wei Huang [Mon, 12 Sep 2016 16:48:57 +0000 (00:48 +0800)]
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.
Chih-Wei Huang [Mon, 15 Aug 2016 13:23:39 +0000 (21:23 +0800)]
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.
Chih-Wei Huang [Fri, 5 Aug 2016 15:20:29 +0000 (23:20 +0800)]
Add IntelHDMI audio HAL
Chih-Wei Huang [Wed, 27 Jul 2016 12:25:20 +0000 (20:25 +0800)]
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.
Chih-Wei Huang [Wed, 27 Jul 2016 12:06:06 +0000 (20:06 +0800)]
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.
Chih-Wei Huang [Tue, 26 Jul 2016 17:26:20 +0000 (01:26 +0800)]
audio_hw: add parameters to match new audio HAL
Chih-Wei Huang [Tue, 26 Jul 2016 17:21:33 +0000 (01:21 +0800)]
audio_hw: fix unused parameter warnings
Chih-Wei Huang [Tue, 26 Jul 2016 16:56:44 +0000 (00:56 +0800)]
audio_hw: deprecate audio_stream_frame_size()
iGaminGoo [Tue, 14 Jun 2016 06:33:21 +0000 (14:33 +0800)]
audio_policy.conf: make the headset microphone work
Chih-Wei Huang [Thu, 15 Oct 2015 16:26:16 +0000 (00:26 +0800)]
include the header for string functions prototypes
Also fixes the warning of unused parameter 'tag_name'.
Chih-Wei Huang [Thu, 25 Jun 2015 17:00:00 +0000 (01:00 +0800)]
fallback to sampling rates 44100 if possible
Chih-Wei Huang [Sun, 28 Dec 2014 09:34:50 +0000 (17:34 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86
Chih-Wei Huang [Fri, 19 Dec 2014 16:10:00 +0000 (00:10 +0800)]
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.
Chih-Wei Huang [Thu, 6 Nov 2014 04:12:27 +0000 (12:12 +0800)]
enable multiarch builds
Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
to support 64-bit targets.
Also add audio.r_submix.default.
Maksim Lin [Mon, 9 Dec 2013 10:54:34 +0000 (18:54 +0800)]
audio_route: fix mediaserver crash
The segfault is because a null audio_route param is passed into
function reset_mixer_state.
Issue: 1209
Tueidj [Wed, 28 Aug 2013 13:33:00 +0000 (21:33 +0800)]
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.
Chih-Wei Huang [Wed, 14 Aug 2013 04:05:33 +0000 (12:05 +0800)]
add audio.usb.default
Suggested by Masaki Muranaka <monaka@monami-ya.jp>.
Chih-Wei Huang [Mon, 7 Jan 2013 17:01:14 +0000 (01:01 +0800)]
detect pcm card automatically
Chih-Wei Huang [Mon, 7 Jan 2013 16:56:02 +0000 (00:56 +0800)]
audio hal for jb-x86
Import from device/asus/grouper/audio of AOSP.
Chih-Wei Huang [Thu, 22 Dec 2011 15:53:25 +0000 (23:53 +0800)]
initial import