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
Nekotekina
0578430fd0
XAudio2 version priority
2016-07-30 20:25:46 +03:00
Nekotekina
a8f977ed9e
XAudio 2.8 test fix
2016-07-25 19:30:21 +03:00
raven02
1672c93a2d
Revert "Audio : allow XAudio2 to run its own thread" ( #1988 )
2016-07-25 09:09:14 +08:00
raven02
53b2e19d96
Audio : allow XAudio2 to run its own thread ( #1980 )
2016-07-25 08:25:02 +08:00
Nekotekina
a0c0df6e9d
Dynamic XAudio version detection
2016-07-21 17:46:46 +03:00
Nekotekina
266db1336d
The rest
2016-05-23 16:22:25 +03:00
Ivan
aafcf44581
Header optimizations ( #1684 )
...
Shouldn't break anything. I hope.
2016-04-27 01:27:24 +03:00
Ivan
da7472fe81
Optimizations ( #1680 )
...
* Optimizations
1) Some headers simplified for better compilation time
2) Some templates simplified for smaller executable size
3) Eliminate std::future to fix compilation for mingw64
4) PKG installation can be cancelled now
5) cellGame fixes
6) XAudio2 fix for mingw64
7) PPUInterpreter bug fixed (Clang)
* any_pod<> implemented
Aliases: any16, any32, any64
rsx::make_command fixed
2016-04-25 13:49:12 +03:00
Nekotekina
edd0965c1a
Partial commit: Audio
2016-04-15 19:22:40 +03:00
AnnieL
96329a6e29
Making sure the right file is included
2016-03-29 18:59:50 +01:00
AnnieL
9f257ee9f8
Slims down minidx9 to XAudio2_7
...
Removes minidx9 as a submodule
Slims down minidx9 to have only the files XAudio2 (2.7) needs.
The other dx9 related files weren't being used.
2016-03-29 18:51:54 +01:00
AnnieL
6182f5346d
Moves ffmpeg and minidx9 to 3rdparty
2016-03-20 22:21:35 +00:00
AnnieL
afefecf1f0
Moves GL, minidx12, OpenAL, stblib to 3rdparty
...
Moves GL, minidx12, OpenAL, stblib to 3rdparty
Fixes AppVeyor and CMakeLists (travis-ci.yml doesn't need any changes)
Points directories in the VS solution files to the new ones on the
externals directory
Includes stuff with the < > syntax instead of " "
2016-03-20 22:20:23 +00:00
Nekotekina
b3e3c68f15
File utility improved
...
+ minor fixes
2016-01-13 14:12:04 +03:00
Vincent Lejeune
02473324f4
Put XAudio and OpenAL files in separate projects.
2016-01-03 21:01:11 +01:00
Nekotekina
3ed603074c
Changes done by [DH] rewritten
...
Added rsx_program_decompiler submodule
Added fs::dir iterator
Added fmt::match
2015-12-22 23:11:20 +03:00
Nekotekina
5f6caf33f0
MINGW64: Compilation fix
2015-11-16 19:12:51 +03:00
O1L
fd13a495de
Replace remained old ini-manager calls
2015-11-14 23:59:46 +04:00
Nekotekina
a4db58f5f2
Added fs::file_ptr, fom::rewrite, cleanup
2015-11-14 20:26:40 +03:00
O1L
c0255208cc
Old ini-manager only partially used in VFS. Global configuration used as defualt.
2015-10-27 01:09:31 +04:00
O1L
89f14ec5ac
Ported more options in new ini-manager. Use later.
2015-10-25 18:44:49 +04:00
Nekotekina
fd628d8345
Minor changes
2015-10-22 22:38:34 +03:00
Nekotekina
73b108765e
fs:: const renaming, fs::g_tls_error stub
2015-08-24 21:22:39 +03:00
Vincent Lejeune
0e733b20de
Lower minidx9/Include priority
2015-08-16 23:00:35 +02:00
Danila Malyutin
99156c61e4
Fix wrong XAudio lib being linked
2015-08-13 01:12:15 +03:00
Nekotekina
edb9595721
Using vm::ps3 namespace moved in proper places
...
Various fixes
2015-07-10 04:30:41 +03:00
Danila Malyutin
e338c3938b
Trying to fix potential resource leak
2015-07-10 04:26:59 +03:00
Danila Malyutin
8483b17995
Initialize pointers to null on creation
...
Fixes access violation in hello_world.ppu.elf on window close.
As I understood the reason - when dtor of XAudioThread is called it
checks:
if (m_source_voice) Quit();
But m_source_voice isn't initialized to 0 by default so when in Quit()
in tries to call some funcs from unitialized ptrs and access violation
happens.
2015-07-10 04:26:57 +03:00
Danila Malyutin
6ce793d582
Deleted unneeded xaudio #ifs
...
There is no improvement in 2.8 and on my setup (8.1 x64) it always
preferred minidx headers anyway (so it'd still load 2.7 dll).
2015-07-10 04:26:56 +03:00
Nekotekina
74b3580b69
rfile_t renamed
2015-04-25 00:38:11 +03:00
Nekotekina
ab405901ee
wxFile removed (rFile -> rfile_t)
2015-04-19 16:19:24 +03:00
Nekotekina
6d1c9f2764
Some warnings fixed
2015-01-25 19:23:24 +03:00
Nekotekina
d557ba2d97
Audio format changed to 8ch
2015-01-18 02:01:08 +03:00
Nekotekina
4dae27c1d4
squeue_t updated
2015-01-16 20:09:53 +03:00
Nekotekina
fd06f70387
cellAudio updated, thread_t updated
2015-01-16 17:36:53 +03:00
Nekotekina
bf7cf0ee9d
.ToLE() changed to .value() or removed
2015-01-14 02:08:00 +03:00
Nekotekina
b6ec618f97
Experimental template formatting with be_t<> support
2015-01-12 21:12:06 +03:00
Oil
0648f1d0a2
Build fix
2015-01-11 16:21:53 +04:00
Oil
b5c33ec26b
Improved AudioThread interface, added XAudio2 audio output
2015-01-11 03:46:10 +04:00
Oil
2a6f4e19cc
Some changes in LLEModulesManager and cellAudio
2014-12-27 21:25:51 +04:00
Oil
b3be4d11e3
Show more information in GSFrame, some changes in cellAudio
2014-12-21 20:29:51 +04:00
Nekotekina
fb1d7d3982
Some warnings fixed
2014-08-30 22:35:18 +04:00
Nekotekina
61c4a88ab4
rFile.h, Thread.h, IdManager.h includes moved
2014-08-25 18:56:13 +04:00
Sacha
6e06fdf638
Stdafx: Major header cleanup
2014-07-12 16:33:04 +10:00
Sacha
6b148d1d4c
CMake: Improve to support build type. Default to release.
2014-07-11 02:46:10 +10:00
Nekotekina
a4308b96f6
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-06-27 20:05:17 +04:00
Peter Tissen
95f1a0e645
use only one set of logging macros instead of two and don't use free() as a function name
2014-06-27 15:28:17 +02:00
Nekotekina
e6a4ef9eb8
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-06-27 17:03:28 +04:00
Nekotekina
5ef3b80596
cellSysutilBgmPlayback fix
2014-06-27 15:11:56 +04:00
Peter Tissen
21da317453
Logging system rework
...
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration
* disable buffering by default
* add multi-threaded ringbuffer implementation
* use buffered listener for the gui (using the ringbuffer)
2014-06-26 17:34:28 +02:00
Peter Tissen
c37905e465
initial start to eliminate static func init, not compilable atm
...
move module initialization into a module manager, still has some issues like stopping not working and debug crashing
add #idef 0 to modules that aren't in the windows project
don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors
remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable
add secondary project, no real use for it now
add some memleak config to the emucore and add asmjit path to rpcs3
small rebase error fixed to get it to compile again
add filters for emucore
re-add the module manager and static file
WIP commit, linker errors abound
some more abstraction layer stuff
fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers
rebasing
fix memset undefined and re() usage of se_t before declaration
Add wxGUI define by default for cmake builds
fix copy constructors of Datetime header
fix copy constructors of other wx interface classes
remove static declarations of global variables
make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls
remove duplicate definition for FromUTF8 and ToUTF8
temp changes
2014-06-08 23:16:06 +02:00
Peter Tissen
40add8f9a2
Seperate ConLog.h and ConLogFrame.h (for now only seperate headers)
...
make precompiled header slimmer under Linux to increase CI and dev-machine build-times
make sure unused modules don't compile
add unused modules to the VS project to easier keep track of them
2014-06-06 02:50:22 +02:00
Oil
14fae9a401
Add a option for converting audio to 16 bit. Issue #276 fixed with using this option?
2014-05-31 18:21:47 +04:00
Oil
6072fd2fbb
Switch to OpenAL Soft (see issue #166 ). Use native FLOAT32 data now. Add small check in OpenALThread.
2014-05-25 01:38:29 +04:00
Unknown W. Brackets
5f6a2e498a
Fix some type comparion warnings.
2014-04-27 21:31:41 -07:00
Bigpet
25c3aa8e19
fixes to get llvm to compile (excepti for utils.cpp, that'll get fixed
...
later)
Eradicate the Array almost everywhere, some usages like Stack still
remains
2014-04-12 12:06:52 +02:00
Nekotekina
c6c6dbe546
Conflicts fixed
2014-04-04 18:43:43 +04:00
lioncash
d0c9d7c0ae
Use spaces for vertical alignment
2014-04-04 09:25:38 -04:00
darkf
4d4b6c0895
Implement/stub cellSysutilGetBgmPlaybackStatus
2014-04-04 00:28:00 -07:00
Nekotekina
24eb97f287
AudioDumper: 8ch output
2014-04-04 00:46:40 +04:00
Nekotekina
1e02598903
cellSync: global mutex avoided
...
cellAudio: level bug fixed
2014-04-03 15:01:14 +04:00
Nekotekina
b6d8f1e028
Small fix (cellAudio, fsAioRead)
...
libsynth2 draft
2014-04-02 19:17:43 +04:00
Peter Tissen
8ac226ae69
replace all instances of wxString with std::string in all cases not
...
directly involved in either the GUI or other wxWidget classes like wxFile
2014-04-01 16:23:03 +02:00
Alexandro Sánchez Bach
01dbb8eb9a
Merge pull request #145 from Nekotekina/master
...
Fixed conflicts.
2014-03-31 12:04:34 +02:00
Alexandro Sánchez Bach
2c7269e3de
PSF Loader improved & issue #126 fixed
...
* Improved PSF Loader: Now you can get the value of the PARAM.SFO
entries directly with the GetString(key), GetInteger(key) methods.
GameInfo related lines were removed since they have nothing to do with
PSF files.
* cellGame, cellSysutil, and GameViewer are modified because of the PSF
Loader changes.
* Removed unnecessary null pointer checks:
https://github.com/DHrpcs3/rpcs3/issues/126
2014-03-28 05:20:13 +01:00
Nekotekina
38bfbe2c40
Audio decoding
2014-03-19 04:32:23 +04:00
Nekotekina
60d922da11
DMA List commands
...
cellAudio: multiple queue support
sys_cond simplified
cellFsMkdir (?)
2014-03-15 19:43:14 +04:00
O1L
b0f6b03c38
Fixed crash on using NUll Audio Output, fixed possible crash in OpenAL exit and minor changes in cellAudioEventQueue functions.
2014-03-14 17:53:37 +03:00
DH
0e437312ad
Improved OpenAL audio output
...
Implemented LDBRX PPU instruction
Enabled FRSQRTE PPU instruction
Improved Fragment Program Decompiler
Implemented Log lvl selection
2014-03-13 02:26:53 +02:00