Ruben Brunk
a5e65d86a2
Allow sticky transform to be set in ANativeWindow.
...
Bug: 15116722
- Adds methods to set the sticky transform field.
Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753
2014-07-14 22:14:49 +00:00
Glenn Kasten
432b7c6da2
Representation of channel masks for position assignment and index assignment
...
Bug: 16245854
Change-Id: I76c7c39c7d4f8d5035016653aa91fa7c1e749bbd
2014-07-12 13:23:57 +00:00
aarti jadhav-gaikwad
923e740879
audio: add definitions for aac sub formats
...
add definitions for aac sub formats
Change-Id: I610caa510dfc7347f7c98e19359545423edd76b3
2014-07-11 18:26:00 +00:00
Jungshik Jang
6fe316102a
Merge "Fix size of "values" fields of audio_gain_config."
2014-07-10 21:52:20 +00:00
Jungshik Jang
f7e5aeadb7
Fix size of "values" fields of audio_gain_config.
...
It should be sizeof(audio_channel_mask_t) * 8 not
sizeof(audio_channel_mask_t) alone.
Change-Id: I3523dd4d44a0900ba1845b3675a22451f1fc2f3c
2014-07-11 03:37:42 +00:00
Jungshik Jang
2c7cfc10f5
Remove forced usage types for HDMI-CEC system audio mode.
...
Change-Id: Ice8aab76281aa62a42665d7c86df1041c7f64ab9
2014-07-11 03:36:28 +00:00
Terry Heo
a916e260db
Merge "audio: add definition for new audio loopback input device"
2014-07-02 19:52:36 +00:00
Terry Heo
b63dd8a005
audio: add definition for new audio loopback input device
...
Bug: 15437484
Change-Id: I62da0596d405c3bb5e00b461f7d4fd11627ed391
2014-07-08 14:52:51 +00:00
Eric Laurent
81c006d792
Revert "Revert "sound trigger: several data structure updates""
...
This reverts commit 6ef7c14b02 .
Change-Id: I285b8388e7fd6f697b76fd18697edea7368991bb
2014-07-08 11:48:15 -07:00
Eric Laurent
6ef7c14b02
Revert "sound trigger: several data structure updates"
...
This reverts commit 135dd2ee3d .
Change-Id: Iad97090c77ad36567eb3c6550ebe3812768e88ad
2014-07-07 16:43:45 +00:00
Eric Laurent
135dd2ee3d
sound trigger: several data structure updates
...
Added sound model implementor UUID.
Added capture preamble duration in recognition event.
Replaced number of users by list of user IDs in key phrase
descriptor.
Report confidence level for each user with user ID in recognition
event.
Added more configuration data to start_recognition() grouped in a
recognition configuration structure.
- List of keyphrases to listen to
- Recognition mode
- List of users with min confidence level
Added definitions for sound model load callback event.
Bug: 12378680.
Change-Id: Ia8c12ab20448b702d13db964bdd90ac4117a58d7
2014-07-06 16:03:42 -07:00
Eric Laurent
db37858a17
sound trigger: add sound model and key phrase IDs.
...
Bug: 12378680.
Change-Id: I93b1916151108ccf6eb625b0078e6ed574720b76
2014-07-06 10:44:18 -07:00
Jungshik Jang
0c3664f08d
Define force usage and category for System Audio.
...
System Audio Control in HDMI-CEC delegates audio
output to Audio Receiver and audio output port
is one of ARC, SPDIF and analog output (line).
Change-Id: Ieb325f754f039e09aae68b700349861ca4e08cbc
2014-07-01 17:10:02 +09:00
Ian Rogers
f267b06305
am 3e906630: am 33dce382: am 63a61e56: Merge "Rename __unused to __UNUSED for glibc support."
...
* commit '3e906630099e0508a72300e14512a62110c864c3':
Rename __unused to __UNUSED for glibc support.
2014-06-29 23:14:09 +00:00
Ian Rogers
de8b983357
Rename __unused to __UNUSED for glibc support.
...
Glibc declares unused fields as __unused and so a #define for __unused causes
issues when we built against glibc on the host. Rename __unused to __UNUSED as
a workaround.
This fixed checkbuild for 64-bit host builds. Bug: 13751317
Change-Id: Ic2cd52518c16661497cc819cb3fd7f1fa5c6f0fb
2014-06-27 17:40:32 -07:00
Zhijun He
72fce30eeb
graphics: add android raw10 format
...
Change-Id: Ib1b74b1664159190e417f2e68a5a13493d04adfc
2014-06-25 15:21:20 -07:00
Eric Laurent
ce30de3553
audio: added new audio formats.
...
Bug: 9428304.
Change-Id: Ife1f6968a8d079b477b5afb5e5cf544e8fe3298f
2014-06-19 09:55:54 -07:00
Eric Laurent
5894b4bfaa
add definitions for sound trigger
...
Add header file sound_trigger.h containing
base definitions and data types for sound
trigger native service and HAL.
Change-Id: Ie357d8c3909d0e1afda230523aded2d8699c69f1
2014-06-03 14:48:41 -07:00
Jean-Michel Trivi
0d580e83dd
Define audio attributes type in system audio header
...
Change-Id: Iac2030a1e4a6827676e6c5f9b408f1e768207f00
2014-06-03 15:47:17 +00:00
Mike Lockwood
1142d8ecea
Merge "audio: Add AUDIO_DEVICE_IN_BLUETOOTH_A2DP"
2014-05-28 21:53:41 +00:00
Mike Lockwood
c8183af4b3
audio: Add AUDIO_DEVICE_IN_BLUETOOTH_A2DP
...
Change-Id: I32770abd42702d99f409f0968326041e78d1a826
2014-05-28 13:47:25 -07:00
Mark Salyzyn
f661a8f531
am 27348af6: am 6445b40e: am 811f2c0b: Merge "system/window.h: add deprecation warnings"
...
* commit '27348af683a55d8701567fdeabdd37b547b187f0':
system/window.h: add deprecation warnings
2014-05-28 19:33:51 +00:00
Mark Salyzyn
881c89c54a
am 7aa8cdfb: am 21157abc: am 8814bd1d: Merge "include: cleanup for -Wsystem-header"
...
* commit '7aa8cdfb317dcb7efb7127b070526df09da05377':
include: cleanup for -Wsystem-header
2014-05-23 22:33:41 +00:00
Mark Salyzyn
289e111a00
system/window.h: add deprecation warnings
...
Change-Id: I38de3d281f28e0750b4abb86f28509f98dfc7a72
2014-05-23 15:10:06 -07:00
Mark Salyzyn
4887842c92
include: cleanup for -Wsystem-header
...
- warnings as errors, or errors introduced when -Wsystem-header
was experimentally introduced.
Change-Id: Ia8f5b3c1c1096e191741223d52526aa48c7f1cc4
2014-05-23 15:09:57 -07:00
Eric Laurent
4cd050121f
audio: added definitions for audio routing extensions
...
Added definitons and structures for new audio routing features
in the framework and audio HAL.
The structures describe the objects needed to perform audio
routing and audio gain control: different variants of audio ports
and their corresponding configurations as well as gain controllers.
Change-Id: Iecd1b9186831067a52cc55619a63b7bba57dcbd9
2014-05-21 17:38:33 -07:00
Eric Laurent
abcb99927d
audio: add definitions for new audio devices
...
Change-Id: I7bbc564a81fd693fa7e6bcb3a817986b50568147
2014-05-20 01:05:01 +00:00
Andy Hung
a7e8f8615d
Add channel count functions for audio masks
...
audio_channel_count_from_in_mask
audio_channel_count_from_out_mask
Change-Id: Ic519f2c3f85d14acb9526cc8812360fcbd15346d
Signed-off-by: Andy Hung <hunga@google.com>
2014-05-16 23:11:13 +00:00
Glenn Kasten
fbb9f993a0
Remove AUDIO_CHANNEL_OUT_SURROUND
...
Change-Id: Id163902dd2c83200201012ffb704d338e81ea471
2014-04-29 09:05:11 -07:00
Glenn Kasten
ee7c17b7fc
Add AUDIO_CHANNEL_OUT_5POINT1_SIDE and AUDIO_CHANNEL_OUT_QUAD_SIDE
...
for use by downmix effect
Also add documentation about platform convention for interleaving.
Change-Id: I44f837e876c6e8f5f70a726d797631ffa556cf9f
2014-04-29 08:58:34 -07:00
Glenn Kasten
b8d59396df
Rename AUDIO_CHANNEL_OUT_QUAD and AUDIO_CHANNEL_OUT_5POINT1
...
to AUDIO_CHANNEL_OUT_QUAD_BACK and AUDIO_CHANNEL_OUT_5POINT1_BACK
respectively, for consistency with terminology used in downmix effect
For the time being, preserve the old names to avoid changing existing code.
Change-Id: I11131e3f66087090a590c93921092ca4fc78cf1c
2014-04-29 08:43:56 -07:00
Rom Lemarchand
aba03c0b7a
am d2674cba: am 0a04c556: am 19759a08: Merge "audio: fix audio_is_bluetooth_sco_device()"
...
* commit 'd2674cbad9dac54ae23d1bbcdf137d75d582258f':
audio: fix audio_is_bluetooth_sco_device()
2014-04-24 22:25:03 +00:00
Eric Laurent
b526630ab8
audio: fix audio_is_bluetooth_sco_device()
...
Bug: 14268964
Change-Id: Ia2a185c5e0939930c5114209651a1e0db6c36ef3
2014-04-24 22:03:00 +00:00
Paul McLean
00b8972062
Usb Capture Implementation
...
Change-Id: I0b5166cc380419455373d590b9a6c4b21bf6634c
2014-04-23 20:55:57 +00:00
Glenn Kasten
45b9581fc9
audio_is_valid_format is true for all PCM formats
...
Change-Id: I733f3208315816575f6d4f7722e906ab50b161af
2014-03-07 12:32:14 -08:00
Andy Hung
173f4995b0
Update audio_bytes_per_sample for PCM 24 bit packed
...
Change-Id: Ic79f604893f5c4f2e8e35189d6638b5b160435ed
Signed-off-by: Andy Hung <hunga@google.com>
2014-03-07 18:20:15 +00:00
Lajos Molnar
3a436c1c3c
Merge "Adding opus to list of audio formats"
2014-03-03 19:45:49 +00:00
Alex Ray
c2729741c2
am 4fc8231c: Merge "graphics: Add colorspace definitions" into klp-volantis-dev
...
* commit '4fc8231c187f3bc96e4633ee055efe5b10590d79':
graphics: Add colorspace definitions
2014-02-22 00:21:07 +00:00
Alex Ray
c9f3bcf87b
graphics: Add colorspace definitions
...
Change-Id: I54230dc2c0e481228457e8a01a50d300c917e657
2014-02-18 16:54:21 -08:00
Ruben Brunk
535253eabe
camera3: Add opaque raw format.
...
Change-Id: I7abf0e63a0f74ede46e0fe4dd1285283355624b1
2014-02-06 11:32:23 -08:00
Glenn Kasten
c0a51093a2
Add 24-bit packed to audio_format_t
...
Change-Id: I08c38ee3ade7b24dc9e2b3ed2b7037c42521a555
2014-01-31 07:51:17 -08:00
Vignesh Venkatasubramanian
76edb1c0e6
Adding opus to list of audio formats
...
Adding opus to the list of audio formats enum.
This CL is part of adding Opus decoding support to android.
Change-Id: I41decf426ed3f76c10b27f247b1264010689c759
2014-01-29 10:11:39 -08:00
Glenn Kasten
1c3e16fb40
Miscellaneous updates to <system/audio.h>
...
Add single-precision floating-point PCM format:
- AUDIO_FORMAT_PCM_SUB_FLOAT
- AUDIO_FORMAT_PCM_FLOAT
Add symbols to replace hard-coded constants in code:
- AUDIO_IO_HANDLE_NONE
- AUDIO_IN_ACOUSTICS_NONE
- AUDIO_INTERLEAVE_*
- AUDIO_STREAM_MIN
Update comments.
Fix whitespace in switch statement.
Change-Id: I61862c188ebac06657b5d9887164edc24b8ab8f5
2014-01-15 14:11:27 -08:00
Glenn Kasten
b4f2b4eac4
Add AUDIO_SESSION_ALLOCATE
...
Change-Id: I045f2f04520bc474666c43a0ff1568f0fab3567c
2014-01-14 16:14:18 -08:00
Rom Lemarchand
ddc20de148
move sync headers from include to libsync
...
Make sw_sync.h private
Change-Id: I0b120ebe81fd4a191b7aa4b6a8de4f64d16e2b3e
2014-01-03 21:27:05 +00:00
Mathias Agopian
96675ed91f
Fix rotation in camera2 API
...
Bug: 10804238
Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
2013-09-17 23:48:54 -07:00
Eric Laurent
04c12ca061
Add HOTWORD audio source to audio.h
...
- This is a complimentary change to the one adding this new source to
MediaRecorder.java
Bug: 10640877.
Change-Id: Ie213e82b5a60dad2a277cef367c2f5e4df70df06
2013-09-09 15:42:31 -07:00
Jeff Brown
8ecc7afca4
Add helpers for audio remote submix devices.
...
Bug: 10265163
Change-Id: Iea7ecab4f2a655b719ff14b04c757d6dbd7a7ef3
2013-08-16 20:21:10 -07:00
Jesse Hall
1e26356da1
Replace sRGB_888 with sRGB_X_8888
...
Bug: 10357459
Change-Id: I23a3eca77acd8b4b40b1a67e7c050a7245b1821a
2013-08-16 08:40:52 -07:00
Glenn Kasten
c051ffd7c2
Add audio_input_flags_t
...
Change-Id: Ie65398cc67218cc63be4baa8a2a61d0ea591a2a3
2013-08-02 10:30:42 -07:00