twinaphex
d417669d48
(GX) Compile in HAVE_RSOUND for both Wii and NGC
2013-11-11 11:14:55 +01:00
Lioncash
db2a619a90
Shrink another struct. This shrinks audio_lock from 32 bytes to 24 bytes.
2013-11-04 00:10:22 -05:00
Lioncash
fac2783a09
Optimize some struct sizes.
...
This is the list of reduced sizes:
file: dsound.c - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
Themaister
83cdd0f250
Remove sthread_exit(). Fix detach.
2013-11-01 09:12:36 +01:00
twinaphex
e4c1ebf344
Expand thread.c - replace pthread with thread.c wrappers
2013-11-01 04:49:29 +01:00
twinaphex
93c1bae991
(Librsound) Update comment in rsnd_get_time_usec
2013-11-01 00:13:17 +01:00
twinaphex
a8696e2506
(RSound) Bake in rsound for Android port - should also be possible
...
to bake it in by default for PC now - made librsound.c crossplatform
2013-11-01 00:07:52 +01:00
Themaister
7aa8b40759
Fixup C89 for loops.
2013-10-22 21:37:56 +02:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
twinaphex
8487cd0204
Start using C89-style for loop initial declarations for
...
reusable code module parts that we reuse in other projects. It's
a huge maintenance burden having to change this stuff around everytime
when compiling in non-C99 mode
2013-10-19 19:39:38 +02:00
Alcaro
c8f28f25d7
Fix typo
2013-09-28 22:39:03 +02:00
meancoot
c9d968fa79
(iOS, CoreAudio) Don't deadlock in coreaudio_write if the audio session is interrupted.
2013-09-25 11:56:02 -04:00
Themaister
38ec55573c
Rework SET_AUDIO_CALLBACK.
...
When disabling audio and/or muting, the core has no way
of knowing this, causing potential issues in a threaded mixer.
This environ is not used by any public core to my knowledge so the old
API has been removed and replaced with a change to environment number
(20 -> 22).
2013-09-14 17:28:09 +02:00
Hans-Kristian Arntzen
7d90ff4011
Merge pull request #303 from libretro/emscripten
...
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
ToadKing
a09dda3a9d
[EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support
2013-09-10 20:21:48 -04:00
meancoot
081e526bf9
(OSX) Support video_monitor_index and audio_device settings
2013-09-07 21:30:58 -04:00
Themaister
73cb566620
"Revert" audio buffer behavior on Android.
...
Add audio_block_frames setting (only used by OpenSL atm).
2013-08-24 12:04:47 +02:00
twinaphex
d13542f12b
(Android) Detects buffer size properly now on Android 4.2 and up -
...
bases requested latency on this. Old fallback applies for non-4.2
2013-08-24 05:10:14 +02:00
Themaister
16ca310f93
Add high latency audio support for Android.
...
Should fix ghetto hardware again.
2013-08-12 20:13:06 +02:00
Themaister
4bf3d47be1
Use GCC atomics to avoid locking in callback.
2013-08-11 01:08:19 +02:00
Themaister
a543b5da74
Fix threaded audio race conditions.
2013-08-11 01:07:59 +02:00
Themaister
bb0993b6eb
Fix Android build.
2013-08-11 01:07:30 +02:00
Themaister
6a82db13d5
Fixups for frame time callback.
2013-08-11 01:05:33 +02:00
Themaister
f4a23115c2
Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK.
2013-08-11 01:05:33 +02:00
Themaister
510ed100e8
Use GCC atomics to avoid locking in callback.
...
Conflicts:
audio/opensl.c
2013-07-17 22:47:34 +02:00
Themaister
54cc4ee469
Fixes and tweaks for OpenSL.
2013-07-17 22:46:38 +02:00
twinaphex
4e390c0dd1
Add librsound_orig.c for targets other than PS3
2013-07-08 00:38:03 +02:00
twinaphex
6d1e9dcaff
Change asoundlib.h include to <alsa/asoundlib.h>
2013-07-07 19:26:03 +02:00
twinaphex
75cce7fb4d
(Pandora) Add static preliminary Makefile for Pandora
...
(Alsathread) Name functions uniquely vs. alsa to resolve
symbol namespace conflicts when compiling with Griffin
2013-07-07 19:22:54 +02:00
twinaphex
3a0cc21d7a
QNX ALSA is too different from regular mainline ALSA - QNX ALSA driver
...
will be separate from main ALSA driver
2013-06-20 10:13:45 +02:00
twinaphex
8bb8b3aea3
(Blackberry/ALSA) Start work on Blackberry ALSA support
2013-06-19 12:53:19 +02:00
Themaister
347fdaadce
Fix ALSA error when unpause on driver reinit.
2013-06-05 20:51:57 +02:00
Themaister
e215033edd
Fix CXX_BUILD.
2013-06-05 10:47:19 +02:00
Themaister
973f35339c
Add pausing to ALSA.
...
Also use snd_pcm_avail() instead of avail_update()
for more accuracy (helps dynamic rate control).
2013-06-05 02:12:34 +02:00
Themaister
8d716f4ca1
Fixup log message in pulse.
2013-06-02 23:57:43 +02:00
Themaister
0aa157a5b9
Handle when pulse spuriously changes buffer size.
2013-06-02 23:43:04 +02:00
Themaister
74f3e8e11c
Pause audio when going into RGUI.
2013-06-02 23:10:03 +02:00
Themaister
de01d42cd8
Fixups in pulse.
...
Add proper pause/unpause, and improve pa_write().
2013-06-02 22:57:44 +02:00
Themaister
4dd117b5ab
Use correct buffer size in Pulse.
2013-05-27 00:56:41 +02:00
meancoot
c15463ad7c
(iOS) Various:
...
Fix symbol conflict for audio_cb in CoreAudio driver and dummy lib
Don't show a frame from the last loaded game when loading a new one
Fix settings not being refreshed after a failed game load
Fix issue that could cause the display time of the native pause button to be cut short
2013-04-18 20:39:43 -04:00
twinaphex
250b52c130
(RARCH_CONSOLE) Build fix for now - dummy loading sidestepped
...
for now until solution arrives
2013-04-14 17:15:57 +02:00
twinaphex
06d3fd16ae
Simplify resampler.c
2013-04-07 18:38:21 +02:00
twinaphex
4102d1cfb8
Make sinc resampler the default and remove Hermite - audio
...
quality at high samplerates was too bad to be of any use
2013-04-07 03:41:06 +02:00
Themaister
913aeabe47
Use more compatible .globl symbols in NEON ASM.
2013-03-27 00:38:11 +01:00
twinaphex
3bc487be87
Merge branch 'ios' of git://github.com/meancoot/RetroArch
2013-03-15 20:05:15 +01:00
Themaister
9fd1f7edad
Fix audio test build on Windows.
2013-03-12 12:23:28 +01:00
meancoot
9fadca2a54
Merge branch 'master' of https://github.com/Themaister/RetroArch into ios
2013-03-09 20:09:32 -05:00
Themaister
1e44407bd8
Bump SINC_HIGHEST BW to 0.962.
2013-03-09 13:28:40 +01:00
meancoot
e8e822ffc3
Merge branch 'master' of https://github.com/Themaister/RetroArch into ios
...
Conflicts:
gfx/gfx_context.c
gfx/gfx_context.h
retroarch.c
2013-03-03 21:36:47 -05:00
Themaister
3ed3217270
Seed rand().
2013-03-03 12:39:11 +01:00