Nekotekina
e4a81b1d13
Move Log.h to util/logs.hpp
2020-03-07 12:29:23 +03:00
JohnHolmesII
758902382d
AudioBackend.cpp: Implicit enum to float conversions are deprecated
2020-02-23 09:38:04 +03:00
Nekotekina
5e75a0c497
Disable cotire on travis
...
Make some workarounds for clang because it poorly supports -Wold-style-cast
2020-02-21 17:03:54 +03:00
Nekotekina
972e0ab31d
Remove -Wno-reorder and make it an error
2020-02-21 15:20:34 +03:00
Silent
e005581dda
Gracefully fall back to a null renderer if XAudio2 fails to Init
...
This can happen as a non-error condition if user has no output
audio devices enabled.
2020-02-20 23:33:09 +03:00
Silent
312fc94daa
Replace XAudio2 implementation with an unified Xaudio2Redist
...
This removes dual implementation for 2.7 and 2.8/2.9 interfaces
and also removes reliance on DirectX End User Runtimes for Windows 7.
2020-02-20 23:33:09 +03:00
Nekotekina
92e3eaf3ff
Fix signed-unsigned comparisons and mark warning as error (part 2).
2020-02-19 22:54:58 +03:00
Megamouse
fe75311be2
move config structs to own files and clean up some headers
2020-02-17 15:08:17 +03:00
Nekotekina
f6e90b4c72
Fix FAudio logging
2020-02-01 13:34:36 +03:00
Eladash
943368912b
Hotfix after #7351
2020-02-01 05:50:58 +03:00
Nekotekina
67075dfc6c
logs: cleanup for audio backends
...
In process of removing GENERAL log channel.
2020-01-31 16:44:48 +03:00
Eladash
232c6c3aaf
Qt: Display "Reboot With Custom/Global config" on running game
2020-01-30 21:49:08 +01:00
Nekotekina
ad9c9f0183
C-style cast cleanup II
2019-11-30 18:17:45 +03:00
Emmanuel Gil Peyrot
03a2d36c7e
Audio: don’t build ALSA, PulseAudio or FAudio backends when disabled
2019-10-31 15:46:20 +03:00
Oschowa
06433d614a
Implement FAudio backend ( #6374 )
2019-10-24 22:26:29 +03:00
Emmanuel Gil Peyrot
9253f7d645
Audio: don’t build XAudio2 backend on Linux
...
The files already had a #ifdef _WIN32, but this avoid even trying to
compile their translation unit.
I was surprised to see XAudio2 being mentioned on Linux, this makes sure
no one else will get this surprise.
2019-10-24 14:16:29 +03:00
Nekotekina
0fcddf6568
Audio: restore snd_pcm_recover for ALSA backend
...
But don't push audio data after recover as before.
2019-09-08 20:49:51 +03:00
msuih
690cdff0d3
Minor fixes
...
- Fix a typo in OpenAL
- Fix typo in cellHttp.h
- Unused variables in catch
- Use 64-bit shifts
- Use use_count with shared pointers, unique is depracated and getting removed
- Explicitly cast boolean to int
- Signed/unsigned issues with loop variables
- Fix missing return statement (the code path is unreachable, but compiler wants a return)
- */ ouside of comment
- Fix duplicate layout name
2019-07-01 04:33:23 +03:00
Lassi Hämäläinen
e9e87b8bd9
Add missing #includes to header files
...
- Multiple header files where missing #includes to other headers that
where used in the header. Correct header was included in correct
order in source files which caused everything to compile.
- Added missing #includes so header files correctly include all their
dependencies and fixes problems with IDEs being unable to parse
headers correctly due to missing symbols
2019-06-25 17:11:10 +03:00
scribam
6c5ea068c9
Remove redundant semicolons
...
Fix "-Wextra-semi" warnings
2019-05-12 18:32:11 +03:00
Nekotekina
d4591b1508
ALSA: disable recovery (experimental)
2019-01-18 16:49:17 +03:00
Nekotekina
bd9131ae1c
Implement fs::get_cache_dir
...
Win32: equal to config dir for now
Linux: respect XDG_CACHE_HOME if specified
OSX: possibly incomplete
2019-01-13 14:45:36 +03:00
Rui Pinheiro
1e4513e2e3
Fixups in audio backend
...
Removes 's_' prefix from variables that are no longer static and
thread_local. Removes superfluous comments left behind due to copy-paste
mistakes.
2019-01-12 21:29:56 +03:00
Rui Pinheiro
48db0430d4
Misc. Tweaks
2019-01-12 21:29:56 +03:00
Rui Pinheiro
67f9397746
Various fixes
...
In addition, linux builds (and ALSA/PA) now work again
2019-01-12 21:29:56 +03:00
Rui Pinheiro
4f39457858
Rewrite OpenAL backend to support new features
2019-01-12 21:29:56 +03:00
Rui Pinheiro
892deb1552
Implement basic time stretching + Tweaks
2019-01-12 21:29:56 +03:00
Rui Pinheiro
5159d3559e
Implement Audio Backend Capabilities querying
...
Also renames "AudioThread" to "AudioBackend". The new name is more
descriptive of what the class really is responsible for, since the
backends are not responsible for managing the audio thread.
NOTE: Right now only XAudio2 is supported
2019-01-12 21:29:56 +03:00
Rui Pinheiro
2addbe6be2
Implement basic cellAudio buffering
2019-01-12 21:29:56 +03:00
Rui Pinheiro
56962aa707
Disable OpenAL backend temporarily
2019-01-12 21:29:56 +03:00
John
6caffd0e32
Add a channel map to the PA backend to fix surround sound ( #4911 )
...
* Add a channel map to the PA backend to prevent issues with more than 6 channels
* Arranged the mapping per cellAudio.cpp
2018-07-21 03:02:07 +04:00
Megamouse
2053de0885
handle some warnings
2018-01-13 23:38:23 +04:00
Nekotekina
7050575fdb
Add Start Threshold parameter (ALSA)
2018-01-03 01:04:04 +03:00
Nekotekina
f2980d57a1
ALSA audio backend fixes
2017-11-15 21:00:02 +03:00
Nekotekina
8520ca7ef7
Audio: add Buffer Count setting
2017-10-28 23:24:08 +03:00
Talkashie
86ef07b166
Correct typo
2017-08-25 18:42:41 +01:00
Andrew O'Neil
daf3760cd4
Add PulseAudio audio backend
2017-08-24 17:43:34 +03:00
Jan Beich
40d305b35d
Make ALSA optional
2017-08-06 02:02:57 +01:00
Nekotekina
f010b5b235
Configuration simplified
2017-05-20 16:01:48 +03:00
Nekotekina
bd8dfac713
ALSA: decrease buffer
2017-05-19 01:13:23 +03:00
Nekotekina
77aa3142a9
Audio: downmix to stereo
2017-04-10 00:18:12 +03:00
Nekotekina
4c741e93c3
ALSA Audio Renderer (Linux)
2017-04-09 19:45:12 +03:00
Nekotekina
9232ddf0ab
Minor changes
2017-01-25 04:43:12 +03:00
Nekotekina
05fb57baff
VERIFY macro removed
2016-08-15 03:13:31 +03:00
Nekotekina
2d512121f1
XAudio2.8+ fix
2016-08-12 23:45:02 +03:00
raven02
009ac37a7d
XAudio : reorder versioning 2.9>2.7>2.8 ( #2048 )
2016-08-09 15:55:11 +08:00
Nekotekina
a7e808b35b
EXCEPTION macro removed
...
fmt::throw_exception<> implemented
::narrow improved
Minor fixes
2016-08-08 19:19:32 +03:00
Nekotekina
b7eda71673
XAudio2.7 bug workaround
2016-08-06 18:19:38 +03:00
Nekotekina
0fcbd43db9
Specify XAudio sample rate and ch num
2016-08-06 16:21:29 +03:00
Nekotekina
4de513eb01
Increase XAudio thread priority
2016-08-06 15:40:51 +03:00