Commit Graph

25 Commits

Author SHA1 Message Date
Henrik Rydgård d9eab4e4a2 sceAudio: Add per-channel mute checkboxes in the debugger 2025-04-15 11:44:28 +02:00
Henrik Rydgård af30c04711 Rename 'chans' to g_audioChans 2025-04-15 11:18:53 +02:00
Henrik Rydgård b2b0ff1753 Consolidate error codes in ErrorCodes.h 2025-02-04 11:53:00 -06:00
Henrik Rydgård 27c059bf9e Really no need to call clear() in the constructor for AudioChannel.
However if this helps #13271, something is very wrong...
2020-08-12 00:22:54 +02:00
Unknown W. Brackets 4c46867230 Audio: Avoid exposing fixed size queue in header. 2020-08-10 08:03:44 +00:00
kaienfr e25bc6908a Fix nonsmooth sound issue and incomplete frame at the end of source and pcm buffers.
using a std::string to save the source buffer, and changing the loading strategy so as we will not get any incomplete frame.
2014-04-12 23:16:38 +02:00
kaienfr 3a12cf2ad7 Universal Audio Class
Based on my implementation in sceAac https://github.com/hrydgard/ppsspp/pull/5836
I've created a class AuCtx included in My SimpleAudioDec.cpp/.h which aims at providing a standard easy implementation to support all codecs in ffmpeg.
Here, I also completely re-code sceMp3 file with this class to give an example how to use this class, and it has solved all mp3 issues I've observed in the current master.
Tests on different freq and channels mp3 audios as:
Miku custom BGM (48kHz, stereo), Hanayaka Nari Wa ga Ichizoku(32kHz, mono, a little fast but better than before now), downstreet panic (44.1kHz, stereo), and learn jp09(44.1kHz, stero) are just all right.
Especially, I am very glad to see that Miku's Custom BGMs have no repetition issues in first tone any more and no longer stopped in the first second neither. :)
We will come into a new age to fast support new audio formats from now on I hope :P
2014-04-11 22:56:59 +02:00
lioncash b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
Unknown W. Brackets 06c19622d5 Fix some init/type warnings. 2013-05-31 23:14:29 -07:00
Unknown W. Brackets 839ff0a795 Correctly reset audio channels on shutdown.
Fixes #1876.
2013-05-21 00:59:05 -07:00
Unknown W. Brackets d4f3137a2c Don't overlay Vaudio with multichannel.
It seems to share living space with Output2/SRC.
2013-05-19 15:46:24 -07:00
Unknown W. Brackets 2bab76a940 Block audio output more correctly.
Still with the same thresholds, so hopefully it won't hurt sync.
2013-05-19 12:31:47 -07:00
Unknown W. Brackets 0ab30ecb07 Use a separate channel for SRC/Output2.
Tests on the PSP show that all 8 channels can be reserved/used at the
same time as *either* Output2 or SRC (but SRC and Output2 cannot be used
at the same time.)
2013-05-16 01:12:39 -07:00
raven02 d07bd499a7 Add SCE_ERROR_AUDIO_INVALID_VOLUME 2013-04-16 15:48:17 +08:00
raven02 c0a49c1603 Add ERROR_AUDIO_INVALID_FREQUENCY/CHANNEL_ALREADY_RESERVED 2013-03-30 23:55:49 +08:00
Unknown W. Brackets 2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Henrik Rydgard d1b3fd0e49 Better window resize handling 2013-01-27 00:15:39 +01:00
raven02 faaa837ca2 Use u32 for leftVolume/rightVolume/format 2013-01-24 23:31:30 +08:00
Unknown W. Brackets 19aaca2705 Start save stating audio, plus minor fixes. 2012-12-28 13:55:29 -08:00
raven02 2bdaaba2ab Change MAX_CHANNEL to PSP_AUDIO_CHANNEL_MAX 2012-12-24 01:00:43 +08:00
Henrik Rydgard 9acfd50139 Fix one cause of audio choppiness - we were dropping samples when audio functions blocked. Also some cleanup. 2012-12-17 20:15:23 +01:00
Henrik Rydgard 7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00
Henrik Rydgard 5a48578a12 Rewrite audio line output. Now deterministic (from the game's POV) and smoother. 2012-11-17 14:20:59 +01:00
Henrik Rydgard 64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard 4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00