summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-12aries: Add UCM for HiFi use-caseHEADmasterArun Raghavan2-0/+553
Generated using xml2ucm at configuration at: https://github.com/ford-prefect/xml2ucm/blob/master/examples/aries-l-config.xml Tested on Android L-based Firefox OS.
2014-04-25falcon: Add UCM config for HiFi usecaseArun Raghavan3-0/+179
This has earpiece, speaker and headphones invidually tested - no combined devices tested yet. Also there's a glitch when speaker playback starts that needs investigation.
2013-10-10mako: Add a low-latency path for voice streams in the HiFi caseArun Raghavan1-0/+30
This adds a low-latency modifier that can be used for voice and potentially other low-latency streams.
2013-10-10mako: Add a h/w volume control example for HiFi use caseArun Raghavan1-0/+6
This sets up the Speaker device for h/w volume control as an example. This can be extended to other devices. For the Headphones device, we would probably want to merge the HPHL and HPHR controls to provide a single stereo control so things can just work.
2013-10-09mako: Expose voice controls as ALSA mixer controlsArun Raghavan1-1/+219
This provides a volume mixer control and a mute switch for the mic that allow standard ALSA controls to be used to control voice call playback volume and capture muting.
2013-10-04Move NEON configuration to top-level Android.mkArun Raghavan1-0/+4
This leaves device-specific configuration in the top-level repo and lets the upstream build system not have to care about the actual device.
2013-08-21mako: Trivial whitespace fixArun Raghavan1-1/+1
2013-08-21mako: Control csd-daemon life cycle in UCMArun Raghavan1-0/+6
This starts/stops csd-daemon at VoiceCall verb enable/disable time.
2013-08-21mako: Make csd-daemon actually daemonizeArun Raghavan1-1/+23
2013-08-20Build fix for audio_test on JBArun Raghavan1-1/+1
2013-08-20Enable/disable CPU-CODEC path in mako VoiceCall UCMArun Raghavan1-0/+45
Needed to cleanly change routing while allowing CPU-side playback to work during a call.
2013-08-20Load module-b2g-policy by default if it existsArun Raghavan1-1/+5
2013-08-20Use arch-specific CFLAGS/LDFLAGS in buildArun Raghavan1-0/+2
Needed for building with NEON support, for example
2013-08-20Add start-pulseaudio-android to the buildArun Raghavan2-3/+10
The script needs a bit of cleanup (port selection shouldn't be here), but it's convenient for testing.
2013-08-20Build fixes for mako voice callsArun Raghavan2-0/+12
Add csd-daemon/csd-client to the build, as well as the VoiceCall UCM.
2013-08-20Make mako csd-daemon more robustArun Raghavan1-43/+61
This factors out device enable and voice start to share code, makes sure that the start/stop-voice on probe doesn't trigger an error (we only really call stop if start was really triggered by an enable-device). This also removes the deferred disable-device logic. As it turns out, we probably should be disabling the device immediately to follow how the Android HAL does it (since the modem bits are so fragile). In order to not trigger an error by doing a stop-voice while no device is enabled, we do a fake enable-device if required before calling stop-voice. This is seriously ugly, but I don't see a better way to do it other than Qualcomm fixing their library/firmware.
2013-08-20Fixups to mako HiFi UCM configArun Raghavan1-30/+36
Changes include: * Move volume setup to verb enable time instead of individual devices like the Android mixer XML * Enable/disable tx mixer control on mic device enable/disable just as we do with the rx mixer for playback devices * Optimise mixer enable/disable by not re-enabling the mixer in DisableSquence (it'll get enabled in the following EnableSequence on device switch)
2013-08-20More mako VoiceCall UCM fixupsArun Raghavan1-0/+85
We need to disable some mixer controls before changing routing. We disable and then enable these in the EnableSequences and only disable in the DisableSequence as an optimisation to avoid two sets of enables when switching devices.
2013-08-20Some make VoiceCall UCM cleanupsArun Raghavan1-24/+20
A few changes here: * Move volume initialisation to verb enable, similar to how the Android XML works * Drop Headphones from conflicting with itself * Add a missing mixer controls * Minor cosmetic documentation changes
2013-08-19Add initial mako VoiceCall UCM configArun Raghavan2-1/+282
2013-08-16Manage modem PCMs for mako in csd-daemonArun Raghavan2-1/+86
Trying to manage them in PA while maintaining ordering with libcsd-client calls is too fragile and seems to not be worth the effort.
2013-08-16Fix disable device make CSD daemonArun Raghavan1-2/+16
disable-device should only be run before the next enable-device and not before a stop-voice. We'd like to keep the disable-device in the DisableSequence in UCM for cleanliness, so we'll hide this detail away in the daemon.
2013-08-15First pass at helper daemon for CSD setup on makoArun Raghavan4-0/+499
Uses libcsd-client.so to talk to the modem firmware on mako. Needs to be in a separate process as we issue the commands from UCM via Exec commands, but the library needs to at least be open throughout the duration of the call.
2013-07-15Add rules to install data filesArun Raghavan2-0/+73
This installs the PA and UCM config files from data/ instead of depending on modifying the top-level device/ make files. We do assume that all devices are UCM-based, but this is a reasonable assumption for now.
2013-07-15Add initial UCM config for the Nexus 4 (mako)Arun Raghavan2-0/+270
This isn't complete yet, probably needs quite a bit of tweaking, but does get basic output going.
2013-07-15Fix library path in start-pulseaudio-androidArun Raghavan1-1/+1
Our tree has tags now, so no more UNKNOWN.UNKNOWN
2013-07-15Only load module-android-policy if it existsArun Raghavan1-0/+2
2013-07-15Move to an in-tree androgenizerArun Raghavan1-1/+1
This avoids the need to have androgenizer in the path, etc. With this, we just Just add the androgenizer repo to local manifest, and we're done.
2013-07-15Disable building alsa-utils by defaultArun Raghavan1-1/+1
A number of other trees contain bits of alsa-utils, so let's make this opt-in.
2013-07-02Fix libgcc path for JBArun Raghavan1-2/+2
Seems to not required the PWD prefix any more.
2012-07-12Remove submodulesArun Raghavan8-21/+0
The submodules will now be pulled using standard Android tools instead (repo).
2012-07-09pulseaudio: Explicitly request UCM support from PA ALSA moduleArun Raghavan1-1/+1
2012-07-04ucm: Disable earphones by defaultArun Raghavan1-0/+4
The earphone enable switch should only be switched on when specifically needed (i.e. when the Earphone device is selected).
2012-07-03pulseaudio: Config changes for role-based routingArun Raghavan1-1/+4
Now that we're using roles for modifiers, we use module-intended-roles for role-based routing. We also make the suspend timeout shorter so that modifiers are only enabled for the short period when they are needed.
2012-07-03ucm: Don't twiddle HF output settings in PlayTone modifierArun Raghavan1-6/+6
2012-07-03ucm: Fix some Voice Call mixer control namesArun Raghavan1-2/+2
2012-06-15s/VoiceCall/Voice CallArun Raghavan1-1/+1
2012-06-12Fix VoiceCall UCM configArun Raghavan1-0/+20
At least 'Headset' capture and playback paths work with this.
2012-06-12Disable devices we don't need in UCM configArun Raghavan1-139/+139
2012-06-11Update UCM configArun Raghavan7-1133/+1474
This pulls in UCM updates from Linaro for the Pandaboard ES and adapts it for Tuna usage. Some tweaking might be necessary for input paths, at least in the VoiceCall verb.
2012-06-04Enable alsa-utils by defaultArun Raghavan2-4/+5
This makes it easier to quickly build and install amxier/aplay without mucking around with the build system.
2012-06-01Add preliminary support for emulating Android policyArun Raghavan3-0/+3
This includes a PulseAudio-side changing adding and Android policy module, and configuration changes to use this.
2012-06-01Clean up the list of modules that are loaded by defaultArun Raghavan1-11/+4
2012-05-30Update libtool HEADArun Raghavan1-0/+0
Added a fix for bootstrapping that should make things build without intervention now.
2012-05-28Update libtool HEADArun Raghavan1-0/+0
Adds a fix for broken configure due to a bad patch file upstream.
2012-05-28Update pulseaudio to the right commitArun Raghavan1-0/+0
2012-05-10Make start-pulseaudio-android script a little more usefulArun Raghavan1-4/+8
2012-02-24Update alsa-libArun Raghavan1-0/+0
Contains one fix for a generated file.
2012-02-24Update libtool to recent HEADArun Raghavan1-0/+0
Contains a fix for bootstrapping.
2012-02-17Fix libtool submoduleArun Raghavan1-0/+0
Don't know how it got a bad commit id.