Glenn Kasten
fe834d30f4
Prepare for additional formats beyond 8-bit and 16-bit PCM
...
This CL does the same thing for AudioTrack,
that an earlier CL did for AudioRecord:
> Change-Id: Ic3525f049e939bdf125d9f87ed39abd2690dcf9f
Pull out the common parts of that earlier CL and move them to new header
file android_media_AudioFormat.h.
Use the new function audioFormatToNative() to convert from Java
ENCODING_PCM_* to native AUDIO_FORMAT_*.
Use audio_bytes_per_sample() instead of hard-coding the size of various formats.
Use size_t for memory sizes.
Change-Id: I7992dd6a2c9500126a6d7ae5fc1ed9f3312962d6
2014-01-10 10:50:22 -08:00
..
2013-12-17 15:51:33 -05:00
2013-10-07 13:22:39 -07:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:53:21 +00:00
2014-01-08 11:53:21 +00:00
2013-08-20 18:29:33 -07:00
2013-09-11 13:18:10 -07:00
2014-01-08 10:17:21 +00:00
2014-01-08 10:17:21 +00:00
2014-01-08 10:17:21 +00:00
2014-01-08 10:17:21 +00:00
2014-01-10 10:50:22 -08:00
2014-01-10 10:50:22 -08:00
2013-12-19 17:02:06 -08:00
2014-01-10 10:50:22 -08:00
2013-09-10 20:47:43 -07:00
2013-08-09 15:04:06 -07:00
2013-08-08 18:38:53 +00:00
2013-07-24 23:44:45 +00:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-27 15:41:25 -07:00
2013-09-27 15:41:25 -07:00
2013-11-22 11:18:57 -08:00
2013-07-24 23:44:45 +00:00
2013-12-16 16:23:52 -08:00
2013-10-17 18:19:48 -07:00
2013-07-31 15:57:49 -07:00
2013-12-11 01:29:28 +00:00
2014-01-06 13:51:48 -08:00
2014-01-03 16:30:25 -08:00
2014-01-07 12:48:43 +00:00
2014-01-09 12:33:22 +00:00
2013-12-30 21:55:47 +00:00
2013-11-11 09:37:02 -08:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-08-12 16:39:59 -07:00
2013-07-01 20:11:42 -07:00
2013-10-26 12:18:00 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-09-10 20:47:43 -07:00
2013-09-10 20:47:43 -07:00
2013-09-10 20:47:43 -07:00
2014-01-07 14:53:55 -08:00
2013-09-10 20:47:43 -07:00
2013-08-20 18:29:33 -07:00
2013-08-06 20:16:12 -07:00
2014-01-07 14:53:55 -08:00
2013-07-01 20:11:42 -07:00
2014-01-08 23:47:44 +00:00
2014-01-08 23:47:44 +00:00
2013-12-11 19:06:18 +00:00
2013-12-11 21:58:53 -08:00
2013-11-07 22:35:23 -08:00
2013-08-30 13:49:14 -07:00
2013-10-14 12:27:22 -07:00