Avaudioplayer problem regarding songs
Posted
by Arun Sharma
on Stack Overflow
See other posts from Stack Overflow
or by Arun Sharma
Published on 2010-05-14T10:59:34Z
Indexed on
2010/05/14
11:04 UTC
Read the original article
Hit count: 467
iphone
|objective-c
I am using avaudioplayer for playing mp3 songs. The problem is in being able to catch the instance of the player to control it i.e. Stop it, Play it etc. The code by default creates multiple instances of the same player and overlaps the songs. I am being unable to reference the player specifically.
Do you have an idea as to how we can do so?
Thanks Arun Sharma
© Stack Overflow or respective owner