Commit Graph

1075 Commits

Author SHA1 Message Date
twinaphex
75e02c4646 Simplify alsa_write 2017-04-20 18:27:46 +02:00
twinaphex
d8ba05170f (ALSA) Use macro for frames to bytes 2017-04-20 13:31:02 +02:00
twinaphex
9faae7eb3f (ALSA) Use macro for determing frames from bytes instead of snd_pcm_bytes_to_frames 2017-04-20 11:20:34 +02:00
twinaphex
3fb630c571 Get rid of is_perfcnt_enable for audio_driver_write function 2017-04-20 10:15:11 +02:00
twinaphex
154b98394b Don't stop/start the audio driver when muting/unmuting 2017-04-20 10:02:54 +02:00
twinaphex
d1ff5dd973 Header include cleanups 2017-04-20 09:14:20 +02:00
twinaphex
0a074ec4a5 audio_driver_alive() should return true inside audio_driver_start 2017-04-19 15:55:35 +02:00
twinaphex
7104d329fd Update logs 2017-04-18 06:02:43 +02:00
twinaphex
d722ac6c04 Cleanup 2017-04-18 05:57:38 +02:00
twinaphex
e21df42ec1 Turn function static 2017-04-18 03:59:15 +02:00
twinaphex
8aa7ae168e Remove unused function 2017-04-18 03:54:53 +02:00
twinaphex
55dd4ac754 Simplifications 2017-04-18 03:52:01 +02:00
twinaphex
662755c899 Start simplifying audio driver start/stop 2017-04-18 03:49:35 +02:00
twinaphex
a9492f6a44 Cleanups 2017-04-15 22:27:23 +02:00
Zoran Vuckovic
66f1c42fcc Add sync off support, improve format negotiation 2017-04-15 20:09:14 +02:00
Zoran Vuckovic
05a3f43057 Add sync off support, improve format negotiation 2017-04-15 20:09:08 +02:00
Zoran Vuckovic
90cfb50658 Added settings and non-standard frame rate handling 2017-04-14 03:35:40 +02:00
twinaphex
0341bdcf77 (WASAPI) Get rid of this header include 2017-04-11 00:51:34 +02:00
twinaphex
05496a8b57 (WASAPI) Nits 2017-04-11 00:35:21 +02:00
Zoran Vuckovic
2a594d313c fixed latency and buffer duration calculations 2017-04-11 00:24:43 +02:00
Zoran Vuckovic
129151d5fc add wasapi audio driver 2017-04-11 00:24:37 +02:00
twinaphex
e5370c114b Update logs 2017-03-24 01:46:28 +01:00
twinaphex
1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
twinaphex
1274092fdd Move audio_mixer code to libretro-common 2017-03-22 03:00:21 +01:00
twinaphex
8906ebc272 Get rid of header include 2017-03-22 02:54:11 +01:00
twinaphex
85e5a01576 Get rid of some implicit memsets 2017-03-05 22:21:55 +01:00
Andre Leiradella
2481d25f0f Fix resampler->process overriding memory because we don't know exactly how much memory it needss 2017-02-28 14:48:20 +00:00
Twinaphex
216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
2b1fbca318 Add to the define 2017-02-25 02:49:18 +01:00
twinaphex
2074d25441 Make STB_VORBIS optional 2017-02-23 05:56:31 +01:00
twinaphex
aaef2bb820 Add audio_mixer.h header file 2017-02-23 05:32:03 +01:00
twinaphex
8de102e607 Make stb_vorbis C89-compatible 2017-02-23 05:23:34 +01:00
twinaphex
cec74a9460 Add audio_mixer.c for console/Apple builds 2017-02-23 04:26:27 +01:00
twinaphex
c5b7a69801 Cleanups 2017-02-23 04:03:53 +01:00
twinaphex
4e0c24acbe Some cleanups for audio mixer 2017-02-23 04:00:40 +01:00
Andre Leiradella
342d399a2a Don't dispose the sound on behalf of the user 2017-02-23 00:15:07 +00:00
Andre Leiradella
13ef64769d Properly dispose the sound 2017-02-23 00:10:16 +00:00
Andre Leiradella
7e029a5981 Added an audio mixer 2017-02-22 23:54:28 +00:00
retro-wertz
9c3f017bf0 fix Dinothawr on xaudio/dsound
https://github.com/libretro/RetroArch/issues/4540
2017-02-01 21:36:10 +08:00
aliaspider
ffbd1e838a (3DS) build fix. 2017-01-31 03:27:26 +01:00
twinaphex
6cde73d86f (CoreAudio) Add backwards compatibility 2017-01-29 19:55:14 +01:00
twinaphex
74b2fde05a (ALSA) Use non-near version of set_channels - we don't yet support
anything other than stereo
2017-01-28 16:00:57 +01:00
twinaphex
4a5688ffe7 (ALSA) Use near versions of set_rate and set_channels - ALSA
can now set a different sampling rate if the suggested rate is
not available - should make PS4 gamepad audio work
2017-01-28 15:59:36 +01:00
twinaphex
8d863bde3d (ALSA) Call snd_pcm_hw_params_set_rate_resample 2017-01-26 04:42:56 +01:00
twinaphex
d5db559d38 (PS3) Buildfix 2017-01-26 04:26:19 +01:00
twinaphex
eacac11abd Add more documentation to audio_driver.h 2017-01-26 02:36:48 +01:00
twinaphex
020ef3cfa1 (XAudio2) Buildfix 2017-01-26 01:23:44 +01:00
twinaphex
44ef975e7a (audio_driver.c) Small refactorings 2017-01-25 18:01:01 +01:00
twinaphex
e74853750b (audio driver) Pass is_perfcnt_enable boolean variable to audio
driver write function
2017-01-25 17:30:50 +01:00