I have a simple iOS application that I am working on, which is basically a customized podcast player.
The app fetches the podcast rss/xml feed from a website, and populates a datagrid. Once an "episode" is selected in the datagrid, the app downloads an mp3 into a temporary folder and then attempts to play the file.
The issue I am having is that if I play the mp3 with "mobilePlaySoundOnChannel", the audio sounds very choppy and distorted. It sounds very "robotic". At first I thought the issue was the file itself, but if I import the file into iTunes and sync it to iPhone and play it with the built-in apple music app, it's crystal clear.
As another experiment, I tried to create a video player with mobileControlCreate in my app and pass the mp3 file as the "video", but it has the same audio distortion.
I then tried to embed a "browser" mobile control into the app and the mp3 plays correctly, but it has the downside of unwanted UI experiencing.
Has anyone seen this? Is there a trick to working mp3 files? Any suggestions on working around the issue?
Weird Audio Issues with iOS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 1
- Joined: Mon Jun 01, 2015 12:35 pm
- Contact:
Re: Weird Audio Issues with iOS
I solved this on my ipad mini retina by setting the 'rotation lock' slider to 'sound off':
- Go to Setting->General
- Change from rotation lock to sound off.
- Wiggle the slider: sound will return
- Now you can set the slider back to rotation lock again
- Go to Setting->General
- Change from rotation lock to sound off.
- Wiggle the slider: sound will return
- Now you can set the slider back to rotation lock again
Re: Weird Audio Issues with iOS
Thanks for the suggestion, Joffery. I've seen the audio problems that were corrected with the volume / rotation lock trick (i.e. after upgrading to iOS
, but that's not the problem here. In my circumstance, the issue is bad quality audio playback and it's on multiple iOS devices.
