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
Unknown W. Brackets
8b3b666612
Return an error for invalid audio sample sizes.
2013-05-16 01:12:38 -07:00
Unknown W. Brackets
674cd9c1a1
Auto select the highest available channel.
...
This is what tests show, and what the PSP does. It makes sense, since
the game might hardcode 0/1 but some library might use autoselect. Or
something.
2013-05-16 01:12:38 -07:00
Unknown W. Brackets
3f8c920436
Accept any negative channel as autoselect.
...
And fix error codes in sceAudioChReserve().
2013-05-16 01:12:37 -07:00
Henrik Rydgård
2846467e63
Merge pull request #1813 from mattweb28/add-modules
...
Added sceJpeg & sceMd5
2013-05-15 05:18:09 -07:00
mattweb28
d3ded6639a
Added sceJpeg & sceMd5
2013-05-15 19:49:34 +08:00
oioitff
1a2bcb70ce
Not to loop or end audios when numSamples is 0.
...
Some games may check for it and add more data.
2013-05-14 23:27:04 +08:00
Henrik Rydgård
9248a19dd8
Merge pull request #1739 from makotech222/master
...
Custom Fps Limiter
2013-05-14 06:33:53 -07:00
mattweb28
1b87f5667f
HLE needs to be reset after kernel shutdown
2013-05-14 20:37:20 +08:00
oioitff
34b4cd29a2
add atrac3plus support for sceAtrac
2013-05-14 19:03:53 +08:00
raven02
897fc5068d
vol > 0xFFFFF for sceAudioSRCOutputBlocking
2013-05-14 08:32:51 +08:00
Henrik Rydgard
c38eece4de
Increase max volume of sceAudioOutput2OutputBlocking.
2013-05-13 22:06:49 +02:00
raven02
61c777983b
Fix loop problem in Three Kingdom VIII
2013-05-13 21:15:02 +08:00
aquanull
6ab94303b9
av_get_default_channel_layout returns int64_t
...
And one less signed/unsigned comparison warning.
2013-05-13 16:20:04 +08:00
Unknown W. Brackets
f5eb684abc
Return an error when there's no async op.
...
And generally improve error codes for async io poll/wait funcs.
Fixes #1790 .
2013-05-12 17:28:07 -07:00
Unknown W. Brackets
8e1193feba
Fail with an error in sceIoChdir for invalid dev.
2013-05-12 16:51:08 -07:00
Unknown W. Brackets
7cab1c334b
Remove a duplicate syscall entry.
2013-05-12 16:51:01 -07:00
Henrik Rydgard
f864e81e72
Get mp3 sample rate and channels from FFMPEG instead of trying to detect ourselves.
2013-05-12 22:29:43 +02:00
Unknown W. Brackets
780e252059
Fix crash in mp3 reading.
2013-05-12 11:41:51 -07:00
Henrik Rydgård
0e1b6d8488
Fix sceMp3 build without USE_FFMPEG
2013-05-12 20:13:07 +02:00
Henrik Rydgard
e65390184e
Uncomment some unused stack-corrupting code from sceMp3Decode. Update ffmpeg.
2013-05-12 19:48:12 +02:00
Florent Castelli and Henrik Rydgard
501f705ba3
Merge mp3 support from Orphis' old FFMPEG code.
...
Conflicts:
CMakeLists.txt
Core/HLE/sceAudio.cpp
Core/HLE/sceMp3.cpp
Core/HLE/sceMpeg.cpp
2013-05-12 19:13:10 +02:00
Henrik Rydgård
7d561eb520
Merge pull request #1779 from oioitff/atrac-fix
...
Finally got how sceAtracAddStreamData should work.
2013-05-12 06:28:23 -07:00
oioitff
64680a2c68
Revert changes for remainFrame in #1776 .
2013-05-12 21:27:41 +08:00
Henrik Rydgard
9ea0f60514
Ugly android buildfix
2013-05-12 15:24:52 +02:00
oioitff
066a2e2182
Add some comments for sceAtrac
2013-05-12 21:14:41 +08:00
oioitff
7b8fb33ebc
Improve sceAtracAddStreamData.
2013-05-12 20:04:50 +08:00
raven02
d822be8ac9
Bitrate calculation based on uofw implementation.
2013-05-12 17:00:21 +08:00
raven02
c1bb421a26
Restore volume shift to 15
2013-05-12 09:03:43 +08:00
Henrik Rydgård
c13a101901
Merge pull request #1765 from unknownbrackets/perf
...
Eat cycles in sceKernelReferThreadStatus()
2013-05-11 14:31:42 -07:00
Unknown W. Brackets
16fe2c9691
Eat cycles in sceKernelReferThreadStatus().
...
Improves .hack//Link (demo)'s perf significantly, doesn't hurt anyone
else.
2013-05-11 12:25:55 -07:00
Unknown W. Brackets
5318e97a2e
Threads starting better threads should stay at top.
...
This wasn't correct, I think I must've added it because something else
should've been rescheduling.
2013-05-11 11:28:37 -07:00
Steven Cherry
ddf8b26c87
Fixed Config saving
...
Fps limit now saves in configuration. It can also be edited there to
allow for any value of fps.
2013-05-11 09:03:33 -05:00
Henrik Rydgård
d1eca34d05
Merge pull request #1745 from oioitff/atrac-fix
...
Improve sceAtracAddStreamData
2013-05-11 00:56:28 -07:00
Henrik Rydgård
a5c9ad9f99
Merge pull request #1753 from unknownbrackets/font-fix
...
Correctly call alloc/free font callbacks
2013-05-11 00:56:11 -07:00
Henrik Rydgård
6546306b6b
Merge pull request #1751 from oioitff/audio-fix2
...
Implement volume control for _sceSasCoreWithMix.
2013-05-11 00:53:56 -07:00
Unknown W. Brackets
7dade9416c
Correctly call alloc/free font callbacks.
2013-05-10 22:06:50 -07:00
oioitff
8d10724b64
Implement volume control for _sceSasCoreWithMix.
...
Tested with Fate Unlimited Code.
2013-05-11 04:30:02 +08:00
raven02
be4f1a00b6
Show the log in yellow color
2013-05-10 23:47:05 +08:00
raven02
7ae62fc0d6
Add INFO_LOG for atrac3+ audio
2013-05-10 23:42:10 +08:00
oioitff
b1ec715d2f
sceAtracAddStreamData is only available after
...
sceAtracGetStreamDataInfo called.
2013-05-10 19:56:53 +08:00
Henrik Rydgård
a4326d689c
Merge pull request #1744 from oioitff/atrac-fix
...
Revert #1731 for sceAtrac
2013-05-10 01:45:21 -07:00
oioitff
3555d656a4
Revert #1731 for sceAtrac
...
It's not working correctly.
2013-05-10 16:38:06 +08:00
raven02
14f6560fde
Use CoreTiming::AdvanceQuick();
2013-05-10 09:38:44 +08:00
Steven Cherry
e7622ebbd6
Custom Fps Limiter
...
First time contributing. Set FPS limit on second page of graphics
settings. Press Tab key or on 360 controller, press left stick to toggle
between 3 states.
2013-05-09 19:36:23 -05:00
oioitff
7cc0cdd346
Only add stream data when it need more atrac data.
...
Tested with Djmax Portable.
2013-05-09 19:59:13 +08:00
Henrik Rydgard
cfc23f59de
Show an error message instead of crashing on demos we don't have keys for
2013-05-09 13:14:19 +02:00
Henrik Rydgard
5fc8de091d
Make some logging VERBOSE
2013-05-09 11:18:38 +02:00
oioitff
529e2f5d52
Build fix, sorry.
2013-05-09 00:19:40 +08:00
oioitff
f86bc2f3da
Improve remainFrame.
2013-05-08 23:50:26 +08:00