MAME4iOS icon indicating copy to clipboard operation
MAME4iOS copied to clipboard

audio stuttering on Apple TV 4.

Open superandrew opened this issue 4 years ago • 15 comments

Hi, I tried this fantastic port with Apple TV and I am incredibly excited 😂

Unfortunately every game I try suffers audio stuttering which sometimes stop after a while playing. Is this a known issue?

superandrew avatar Apr 12 '21 20:04 superandrew

We have not seen a stuttering problem in a while.

What romset? What build of MAME4iOS? What version of tvOS? How did you deploy? Xcode or sideload.

ToddLa avatar Apr 13 '21 03:04 ToddLa

Hi, would you happen to have any answers to these questions @superandrew ?

mrjschulte avatar Apr 25 '21 18:04 mrjschulte

Hi it happened on games like Bubble Bobble, Donkey Kong, Shinobi, and any other I tried. Apple TV 2015 with latest OS, Mame downloaded and built in xcode the same day of the issue.

After that, the following day all games disappeared from mame4ios, that's the reason I didn't had time to reinstall everything and get back to you, sorry.

superandrew avatar Apr 25 '21 18:04 superandrew

Hmmmm this is a "old" AppleTV HD, might need to give that a look, re-copy the ROMs the tvOS helpfully removed for you to save space, and try again. I will see if I have a HD TV in my closet

ToddLa avatar Apr 26 '21 01:04 ToddLa

Turns out I do have an TV gen 4, it is the same one I used when I fixed audio issues last time!

If you can @superandrew can you try to repro again.....

ToddLa avatar Apr 28 '21 18:04 ToddLa

@ToddLa should I update the source and deploy again? in the meantime I am waiting for a 4K so we'll see the difference. Is it normal that every time I launch the application the ROMS folder is emptied?

superandrew avatar May 11 '21 15:05 superandrew

It is "not normal" but it is what tvOS does, if you are low on disk space it will remove any apps data files.

I hope you ordered the 64GB version of new TV!

If you build an entitled build, you can easily get your ROMs back with a single click from iCloud (assuming you upload them at least once.....)

ToddLa avatar May 12 '21 15:05 ToddLa

thank you @ToddLa.. this morning I built an entitled build, and tried to upload the ROMS from an iPad, but got this error: IMG_57B06AFB9BC7-1 however, regarding the audio stuttering, I can confirm it's an issue with most games, but I assume this is related to the old hardware.

superandrew avatar May 12 '21 15:05 superandrew

What the hell error is that? Thanks iCloud!

ToddLa avatar May 14 '21 00:05 ToddLa

I still plan to check out the audio issue, I want to make sure we are not messing up, I might pop up a branch for you to test.....

ToddLa avatar May 14 '21 00:05 ToddLa

You have a full developer account? Not a shared one?

ToddLa avatar May 14 '21 01:05 ToddLa

I have a developer account, I'm an iOs developer. I'd like to help with testing.

After compiling an Ipa with and install it on the aTv I didn't see the roms disappear anymore. I know aTv reclaims some space, but why delete all the content of the ROMS folder everytime I restart? probably a bug or something related to launching the app instead of installing it.

I'll send you a video with an example of the stuttering. Have you got any chance to try bubble bubble for example on the old aTv?

superandrew avatar May 14 '21 06:05 superandrew

I have been running on old TV for a while, no sound issues! But I have not specifically tried bubble bobble. I will do that now

ToddLa avatar May 21 '21 18:05 ToddLa

I am put back the ability to choose the audio sample rate, and see if that does anything for you...

ToddLa avatar May 21 '21 19:05 ToddLa

Hi, I have same problem with old and new Apple TV (apple 64 2019, and apple 4k 2023 )I Use last mameios 2022.5 with mame 0219... Donkey Kong , Hypersports , etc are very very noisy. Same mameios in Mac sounds perfect. How can I fix it? Apple TV version is very useful but I can't play in this way :(. THANKS!!!

monogalactico avatar Feb 25 '24 14:02 monogalactico