Commit Graph

959 Commits

Author SHA1 Message Date
Aaron Culliney
0c6fe702e5 Simplify the going-silent logic 2015-07-02 20:37:06 -07:00
Aaron Culliney
a9307aa827 Remove hardcoded sample rate and buffer sizes
- Audio backend now specifies the sample rate and min/ideal buffer size for mono and stereo audio
    - Increase maximum speaker amplitude
2015-07-02 20:24:59 -07:00
Aaron Culliney
d5b7b5263c Misc tweaks 2015-06-30 22:10:30 -07:00
Aaron Culliney
951b4518c1 Expose device-preferred audio parameters to native 2015-06-28 12:49:26 -07:00
Aaron Culliney
38ef54bf57 Include class to detect audio capabilities of Android device 2015-06-28 11:50:32 -07:00
Aaron Culliney
d01b220b21 Remove spurious checkin 2015-06-28 10:56:11 -07:00
Aaron Culliney
afeffdab79 Tweak to avoid GCC complaint 2015-06-27 13:14:32 -07:00
Aaron Culliney
f0f95a80ff Project changes insisted upon by Android Studio 2015-06-27 13:12:38 -07:00
Aaron Culliney
9631e1e039 Remove > API 19 method call 2015-06-27 13:12:09 -07:00
Aaron Culliney
a72d6db296 Allow system to handle volume change keys 2015-06-27 12:59:59 -07:00
Aaron Culliney
bb8d51817b First cut at Android OpenSLES backend 2015-06-27 11:48:00 -07:00
Aaron Culliney
c4397123cb Assert that there is only one backend renderer 2015-06-22 22:21:27 -07:00
Aaron Culliney
5b7afea0b4 Refactor : use the new common playqueue code 2015-06-22 22:21:09 -07:00
Aaron Culliney
7a2d1725c7 A simple audio buffer play queue implementation 2015-06-22 22:20:32 -07:00
Aaron Culliney
be7a6267e2 Refactor : call openal_systemShutdown from failed creation 2015-06-20 14:28:27 -07:00
Aaron Culliney
20054a9171 Refactor : avoid early return 2015-06-20 13:49:35 -07:00
Aaron Culliney
2839e92ce4 Refactor : simplify check for available buffers 2015-06-20 13:16:24 -07:00
Aaron Culliney
9a7090c3a4 Refactor : begin excising use of uthash
- While uthash is excellent, it is too heavyweight for a custom collection that has a maximum of 4 elements
2015-06-20 13:02:18 -07:00
Aaron Culliney
2824dfa752 Refactor : clarify buffer play list variable 2015-06-20 12:18:42 -07:00
Aaron Culliney
0aecc83744 Refactor : shuffle moar code around for clarity 2015-06-20 12:11:53 -07:00
Aaron Culliney
8ab4c18de5 Refactor : shuffled code locations to eliminate forward declarations 2015-06-20 11:51:15 -07:00
Aaron Culliney
7b0c5be7c8 Refactor : style and API cleanups 2015-06-20 11:39:23 -07:00
Aaron Culliney
b5ebec1939 Refactor : various style tweaks and optimizations 2015-06-20 11:19:29 -07:00
Aaron Culliney
81941295e6 Refactor : simplify audio buffer API 2015-06-20 00:01:17 -07:00
Aaron Culliney
3ed43fa43c Refactor : remove enumerate devices and other API simplifications 2015-06-19 22:03:48 -07:00
Aaron Culliney
f353a11ec5 Refactor : clarify _this and _internal parameters 2015-06-17 20:54:51 -07:00
Aaron Culliney
5beb1ce476 Fix build break 2015-06-17 20:39:12 -07:00
Aaron Culliney
433f079610 Refactor : renamed methods and eliminated unused parameters 2015-06-16 23:32:19 -07:00
Aaron Culliney
060c95e873 Refactor : remove unnecessary DSGetLock() 2015-06-16 23:19:02 -07:00
Aaron Culliney
72389b941a Refactor : clarify basic subsystem interface 2015-06-16 23:02:25 -07:00
Aaron Culliney
107db0dbde Refactor : remove apparently unneeded call to GetStatus 2015-06-16 22:47:37 -07:00
Aaron Culliney
6059bf370b Refactor : change API method to return error code instead of a success boolean 2015-06-16 22:43:50 -07:00
Aaron Culliney
17cfb8c3a3 Refactor : remove unused code and make constant code constant 2015-06-16 22:39:35 -07:00
Aaron Culliney
6a4fe7bfa1 Refactor : prettify get buffer lock function 2015-06-16 22:28:53 -07:00
Aaron Culliney
e0fe2e62f7 Refactor : remove moar deadcode! 2015-06-16 22:19:19 -07:00
Aaron Culliney
f41dc9b68a Refactor : remove enumerated audio devices from file scope and eliminate \n from logs 2015-06-16 22:17:18 -07:00
Aaron Culliney
26d3cda215 Refactor : initialization and shutdown codepath cleanup 2015-06-16 21:45:45 -07:00
Aaron Culliney
43d98235fd Refactor : cleaned up a bit of deadcode 2015-06-16 21:33:31 -07:00
Aaron Culliney
a2663298d1 Refactor : coalesce two structs into one for clarity 2015-06-16 21:18:52 -07:00
Aaron Culliney
ba42037473 Refactor : remove PVOICE typedef 2015-06-16 20:41:18 -07:00
Aaron Culliney
7552d64d74 Refactor : rename variable for clarity 2015-06-15 22:33:18 -07:00
Aaron Culliney
6a12ae4081 Refactor : simplify function-pointer assignment 2015-06-15 22:24:51 -07:00
Aaron Culliney
538b0aacd7 Refactor : rename some structures for clarity 2015-06-15 22:19:23 -07:00
Aaron Culliney
aedada03e9 Refactor : remove unused ivars 2015-06-15 22:07:09 -07:00
Aaron Culliney
d6b5c19584 Refactor : rename a number of structures and constify a few public API methods 2015-06-15 21:50:46 -07:00
Aaron Culliney
8dd82642d3 Refactor : rename audio subsystem initialization and shutdown functions 2015-06-14 15:05:44 -07:00
Aaron Culliney
59e95a19b1 Refactor : add annotations to a few more functions 2015-06-14 14:56:53 -07:00
Aaron Culliney
33a13abbc2 Refactor : Better segregation and modularization of the audio backend functions 2015-06-14 14:46:15 -07:00
Aaron Culliney
7fd1b350c2 Refactor : hide non-public OpenAL internal API 2015-06-14 14:07:33 -07:00
Aaron Culliney
ec4ff3de10 Refactor : shuffle moar macros into mockingboard.c 2015-06-14 14:07:33 -07:00