Merge pull request #10 from jusa/dev

Change voice volume control implementation.
[build] Bump version.
[sink] Track stream extra devices more carefully.

Count extra routes and do routing change only if there are no streams
with extra route. Prevents skipping audio if multiple streams with same
extra route property are played simultaneously.
Merge pull request #11 from jusa/additional-route

Track stream extra devices more carefully.
[headers] Added droid-util headers for 4.4

Copied from droid-util-42.h
[util] Recognise AUDIO_DEVICE_OUT_PROXY
[util] Add AUDIO_DEVICE_OUT_PROXY in output device conversion table
[util] Recognise AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, AUDIO_OUTPUT_FLAG_NON_BLOCKING
[util] Recognise AUDIO_CHANNEL_IN_FRONT_BACK
[util] Do not fail while parsing speaker_drc_enabled entry in audio_policy.conf

Fixed parsing following section in /system/etc/audio_policy.conf

global_configuration {
  attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER
  default_output_device AUDIO_DEVICE_OUT_SPEAKER
  attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX
  speaker_drc_enabled TRUE
}
[util] speaker_drc_enabled is only from HAL v2

Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
Merge pull request #13 from sledges/hybris-11.0

Support Hammerhead
[card] Refactor virtual profiles.
[card] Add availability to virtual profile and deny activating unavailable profile.
[source] Add support for voicecall source.

When device is provided when calling pa_droid_source_new() and device is
AUDIO_DEVICE_IN_VOICE_CALL, force mono channels and hal channel mask for
recording from both uplink and downlink.
[module-droid-source] Use updated droid-source.
[card] Add support for virtual profile extensions and voicecall record.

When in voicecall profile, one can switch to voicecall-record profile,
which destroys active sources and creates source specifically for
voicecall recording.
[build] Autogenerate DROID_DEVICE_FOO for droid device.
[util] Refactor HAL includes to per-droid-version headers.
[util] Define QCOM_HARDWARE for Hammerhead (Nexus 5).