Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cellVoice/cellAudio Fixes #6862

Merged
merged 8 commits into from
Nov 25, 2019
Merged

cellVoice/cellAudio Fixes #6862

merged 8 commits into from
Nov 25, 2019

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Oct 24, 2019

  • Use shared lock wherever possible. (std::unordered_map::find is safe to use under shared lock)
  • Fix cellVoiceSetVolume.
  • Fix NOT_INIT checks.
  • Fix error logging of cellVoiceCreateNotifyEventQueue, cellAudioCreateNotifyEventQueue.
  • Fix cellVoiceCreatePort, return port id.
  • Implement 0 event source handling for cellVoiceSetNotifyEventQueue.
  • Implement cellAudioCreateNotifyEventQueueEx.
  • Implement event source for cellAudio events
  • Fix cellAudioCreateNotifyEventQueue queue depth.

Other improvements:

  • Minor error checking fixes for sys_prx from firmware.

Fixes #6884
Fixes Test Drive Unlimited.

@elad335 elad335 force-pushed the sys_prx branch 6 times, most recently from 21e0b22 to 09695ce Compare October 26, 2019 06:07
@elad335 elad335 changed the title cellVoice Update v1.01 cellVoice/cellAudio Fixes Oct 26, 2019
attr->name_u64 = 0;

for (u64 i = 0; i < MAX_AUDIO_EVENT_QUEUES; i++)
{
// Create an event queue "bruteforcing" an available key
const u64 key_value = 0x80004d494f323221ull + i;

if (const s32 res = sys_event_queue_create(id, attr, key_value, 32))
Copy link
Contributor Author

@elad335 elad335 Oct 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this was 32 before? this is certainly incorrect looking at firmware values but im asking in case it is a workaround for something.

@ruthan
Copy link

ruthan commented Nov 8, 2019

There is not too much audio related fixes, so i gave a try, old UT3 bug:
#5134 Unreal Tournament III [BLES00200] very broken ingame sound

No luck, so far.

@elad335
Copy link
Contributor Author

elad335 commented Nov 8, 2019

It ain't about sound quality.

@Augusto7743
Copy link

Spelunker has a bug that few seconds that a game is started the music tempo goes normal to slow.
Music tempo was correct in versions before 2018.

@elad335
Copy link
Contributor Author

elad335 commented Nov 12, 2019

if it isn't a regression from this pr do not report.

* Use shared lock wherever possible.
* Fix cellVoiceSetVolume.
* Fix error logging of cellVoiceCreateNotifyEventQueue, cellAudioCreateNotifyEventQueue
TODO: global sdk value used is set in cellAudioInit, which means sdk var value is 0 before it's initialization, currently safely set queue size to 8 in this case.
@elad335 elad335 closed this Nov 25, 2019
@elad335 elad335 reopened this Nov 25, 2019
@AniLeo AniLeo merged commit 70ace4b into RPCS3:master Nov 25, 2019
@elad335 elad335 deleted the sys_prx branch November 25, 2019 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Regression] PR #6757 broke Backbreaker games
5 participants