Commit Graph

411 Commits

Author SHA1 Message Date
twinaphex 9f50ab2534 Cleanups 2016-03-04 21:51:33 +01:00
twinaphex 009329969a Refactor away audio_driver_set_callback_state 2016-03-04 21:47:24 +01:00
twinaphex b7d3f3b01c Remove functions audio_driver_set_callback/audio_driver_unset_callback 2016-03-04 21:44:44 +01:00
twinaphex f3a9a38987 (audio_driver.c) Cleanup 2016-03-04 21:38:18 +01:00
twinaphex 3d6e6efe49 audio_driver.c - cleanup 2016-03-04 21:35:54 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 34f3963e4e Simplify RUNLOOP_CTL_IS_SLOWMOTION 2016-02-29 01:33:14 +01:00
twinaphex cd9f567fc2 Create RARCH_AUDIO_CTL_RESAMPLER_* functions 2016-02-15 06:43:32 +01:00
twinaphex 712a38083b Style nits 2016-02-11 01:40:43 +01:00
twinaphex 73684cb361 Set these static variables initially to NULL 2016-02-04 20:04:06 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 5cdbe7e3cc Fixes some crucial bugs 2015-12-25 19:30:31 +01:00
twinaphex ff48aaee7d init_audio - Hopefully this check is no longer necessary 2015-12-09 19:13:42 +01:00
twinaphex 8600c09f60 Immediately free audio_driver_context_audio_data after calling
free function
2015-12-09 18:04:48 +01:00
twinaphex 883c2a172a Exclude performance.h from runloop.h 2015-12-06 19:10:58 +01:00
twinaphex 0389474e12 Set dangling pointers to null for RARCH_DISPLAY_CTL_DEINIT
and RARCH_AUDIO_CTL_DEINIT too
2015-12-06 18:15:00 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex 736101f1a2 (audio_driver.c)Return true if resource already allocated 2015-12-04 15:33:09 +01:00
twinaphex d0b4d36136 Set audio_driver_active to false during AUDIO_DRIVER_CTL_DESTROY 2015-12-04 15:00:07 +01:00
twinaphex 351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex 8e0fcc663b (audio_driver.c) Turn some variables into static local variables 2015-12-04 02:16:17 +01:00
twinaphex 0e15c30964 (audio_driver.c) Put some more safeguards in 2015-12-04 00:15:37 +01:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 1ed467f4e7 (audio_driver.c) Uniquely namespace static variables 2015-11-30 07:33:15 +01:00
twinaphex 0dd3451ca5 Create recording_push_audio 2015-11-30 01:49:17 +01:00
twinaphex ef591c416d Cleanups 2015-11-29 23:01:37 +01:00
twinaphex 12e301825b Move audio_active to audio_driver.c 2015-11-29 21:34:45 +01:00
twinaphex ff13338ca9 Move audio_data_own to audio_driver.c 2015-11-29 20:26:30 +01:00
twinaphex 09fe26257c header include changes 2015-11-23 21:58:39 +01:00
twinaphex 229c25dfc7 Divorce driver->resampler from driver_t struct 2015-11-23 21:40:32 +01:00
twinaphex 18926e4df5 Divorce driver->resampler_data from driver_t struct 2015-11-23 21:37:27 +01:00
twinaphex 7dcf0bbf99 remove unused variable 2015-11-23 19:40:43 +01:00
twinaphex a688baebe0 Divorce driver->audio from driver_t struct 2015-11-23 19:30:47 +01:00
twinaphex 24400bc797 Divorce audio_data from driver_t struct 2015-11-23 19:22:18 +01:00
twinaphex 8e0a2ee9e7 Turn audio_driver_flush into static function 2015-11-23 13:30:19 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex e02fdd5b5b Cleanups 2015-11-23 10:13:27 +01:00
twinaphex b59e2907f3 Add RARCH_AUDIO_CTL_SETUP_REWIND 2015-11-22 15:25:43 +01:00
twinaphex f60c3395f0 Create more RARCH_AUDIO_CTL commands 2015-11-22 15:22:08 +01:00
twinaphex 82e8cee97b Create RARCH_AUDIO_CTL_HAS_CALLBACK 2015-11-22 15:20:10 +01:00
twinaphex 08c6382c51 Refactor away another function 2015-11-22 15:16:03 +01:00
twinaphex 4ad4254107 Turn function static 2015-11-22 15:10:14 +01:00
twinaphex 9e83fedcd9 Create more RARCH_AUDIO_CTL_ commands 2015-11-22 15:07:11 +01:00
twinaphex b603b735d5 Add RARCH_AUDIO_CTL_MUTE_TOGGLE 2015-11-22 14:30:31 +01:00
twinaphex a88ae583cc Create RARCH_AUDIO_CTL_DEINIT/RARCH_AUDIO_CTL_INIT 2015-11-22 14:28:00 +01:00
twinaphex 0972c19f77 Add more RARCH_AUDIO_CTL commands 2015-11-22 14:23:29 +01:00
twinaphex 66d853358a Create audio_driver_ctl 2015-11-22 14:17:46 +01:00
twinaphex 0425f0564c Remove audio/audio_monitor.h 2015-11-22 13:35:57 +01:00
Twinaphex 0447c1b442 Merge pull request #2293 from aliaspider/master
(3DS) - add an audio driver using the DSP.
2015-10-27 01:38:38 +01:00
aliaspider aeeb2a62d6 (3DS) - add an audio driver using the DSP.
- add some hooks to inspect memory usage.
2015-10-27 01:06:34 +01:00
twinaphex db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex bb10bc06b7 (string_list_special.c) Code de-duplication 2015-10-26 08:52:25 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
twinaphex 0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex cc4a918296 Create rarch_main_ctl 2015-09-26 12:58:02 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
Alcaro 9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex 273788cdf9 (Vita) Attempt to reuse PSP1 audio driver for Vita 2015-08-12 12:18:45 +02:00
Twinaphex 5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex b18442dc5a Refactor is_slowmotion 2015-08-05 13:06:44 +02:00
twinaphex ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex bd6ee135e9 Take out runloop_t dependencies 2015-08-03 20:03:14 +02:00
twinaphex 19542d4f00 Get rid of some superfluous wrapper functions 2015-07-12 11:21:05 +02:00
twinaphex 3aff5a3ee2 Set audio callback function pointers to NULL during uninit_audio -
should fix Dinothawr crash when selecting 'Close Content'
2015-07-08 19:08:43 +02:00
twinaphex c6992b3a6a Make audio_driver_callback and audio_driver_callback_set_state
more robust
2015-07-08 18:57:34 +02:00
twinaphex 4ac38a738f (audio_driver.c) Some cleanups 2015-07-08 18:38:46 +02:00
twinaphex 467452a698 Updates pt. 4 2015-07-02 18:55:49 +02:00
twinaphex e0bf3b4ae4 (rewind.c) Updates 2015-07-02 18:23:18 +02:00
twinaphex 6e2bea3b38 (Audio/gfx) Cleanups 2015-06-13 01:18:13 +02:00
twinaphex a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex 415a983705 Move buffer_free_samples variables to audio_driver.c 2015-05-20 05:27:53 +02:00
twinaphex 398570f017 Move audio callback to audio_driver.c 2015-05-19 21:35:40 +02:00
Twinaphex 56414034a5 Cleanup some unused variables 2015-05-19 21:19:09 +02:00
twinaphex 4afc100924 Move audio_data out of global struct to prevent threading issues 2015-05-19 21:18:07 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex 271292045b (audio_driver.c) Refactors 2015-04-11 08:08:57 +02:00
twinaphex 184fe19a79 Implement stub versions of write_avail for SDL and CTR audio drivers 2015-04-11 06:56:02 +02:00
twinaphex 9d607cbc56 (audio_driver.c) Cleanups 2015-04-11 06:48:42 +02:00
Monroe88 b138ab8b57 (audio_driver.c) Fix audio DSP filter init 2015-04-06 23:51:16 -05:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
twinaphex adf076cc3d Cleanups 2015-03-24 08:31:35 +01:00
twinaphex 3a78276418 (Audio) Implement write_avail always, even if just as a stub 2015-03-24 08:05:19 +01:00
twinaphex d6981c3aad Cleanups 2015-03-23 07:34:18 +01:00
twinaphex c033546303 Create audio_driver_write 2015-03-23 02:51:46 +01:00
twinaphex dc46785c14 Create more audio wrapper functions 2015-03-23 02:44:49 +01:00
twinaphex 4a3507adc1 Create audio_driver_alive 2015-03-23 02:36:13 +01:00
twinaphex 4371a1dcdf Cleanup audio_driver_readjust_input_rate 2015-03-23 02:31:16 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 6cefa69aa4 Go through settings pointer 2015-03-20 19:48:23 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex e39d5188a3 Move g_extern.measure_data to g_runloop.measure_data 2015-03-07 13:38:21 +01:00
twinaphex d0e6685d3d Move readjust_input_rate function to audio_driver.c 2015-02-11 17:36:31 +01:00
twinaphex 889860f791 Create audio_driver_mute_toggle 2015-02-10 21:16:26 +01:00
twinaphex 85510aeec0 config_get_audio_driver_options - cleanups 2015-01-30 07:48:05 +01:00
twinaphex fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +01:00
twinaphex 7f53ca4ab5 audio mute enable is now saved to config file 2015-01-16 23:26:09 +01:00
twinaphex 26ab324727 (OSX 10.6) Fix declaration shadows global variable warnings 2015-01-15 21:10:36 +01:00
twinaphex 2679c3d5c2 Rename audio/utils.c to audio/audio_utils.c 2015-01-13 00:19:46 +01:00
twinaphex 6cdaa4e282 (MSVC) Build fixes 2015-01-12 22:47:12 +01:00
twinaphex 7283ce17bc Move audio_driver.c to audio/ 2015-01-12 18:09:31 +01:00