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

iOS: audio recording is stopped when switching to UTM #3996

Closed
UTMDiscordBot opened this issue May 8, 2022 · 6 comments
Closed

iOS: audio recording is stopped when switching to UTM #3996

UTMDiscordBot opened this issue May 8, 2022 · 6 comments
Labels
iOS Issues specific to iOS platform.
Milestone

Comments

@UTMDiscordBot
Copy link

Hey friends, whenever I start to record a VoiceMemo, as I switch back to UTM, the recording stops. I'd really need to do both of this at the same time. Anything we could do about it? I guess that the audio session created by UTM is declared as non-mixable? Especially as also when I leave the app any playback stops...

Created using UTMbot

Questioner: neverseen#0001
Moderator: osy#9440

@Halo-Michael
Copy link
Contributor

Same here, when UTM switches to the background and switches back, the sound inside the virtual machine will not play.

@conath
Copy link
Contributor

conath commented May 24, 2022

This is probably a gstreamer-related issue. Maybe changes could be made to the build scripts to fix this.

@conath conath added the iOS Issues specific to iOS platform. label May 24, 2022
@osy
Copy link
Contributor

osy commented May 24, 2022

I feel like something can be patched in spice-gtk in how it instantiates gstreamer

@conath
Copy link
Contributor

conath commented May 24, 2022

Could we also fix #3299 that way?

@osy
Copy link
Contributor

osy commented May 24, 2022

Possibly. I just haven’t had time to look into it at all.

@Halo-Michael
Copy link
Contributor

I guess you need create a function named applicationDidBecomeActive in AppDelegate.mm to recapture the sound etc.
CC: https://github.com/hrydgard/ppsspp/blob/221976ff4057e7d9a7a00e4bb94e9656e9f8695a/ios/AppDelegate.mm#L117

@osy osy added this to the Future milestone May 26, 2022
@osy osy modified the milestones: Future, v4.0 Aug 1, 2022
@osy osy closed this as completed in edba4eb Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS Issues specific to iOS platform.
Projects
None yet
Development

No branches or pull requests

4 participants