How to identify AudioStreamer isBuffering state or As_Waiting_for_queue_to_start state?

Actual problem I was having is when my song is being stream and I click next then 2 songs started toghther.

Up vote 0 down vote favorite share g+ share fb share tw.

Continue from previous question I found that when I am having slow streaming from internet and I click next and Previous buttons then two or more song starts because when a new instance of AudioStreamer is created and State of AudioStreamer is neither of isPause, isIdle or isStop. But actually a new Thread starts inside AudioStreamer class and has isBuffering or As_WAITING_FOR_QUEUE_TO_START state. My question is how can I identify this states so that when I click Next button twice then only 1 song starts and other request is rejected?

Please help in this regards.. thanx iphone objective-c audio audio-streaming audiostreamer link|improve this question asked Sep 19 '11 at 5:08DShah2,6824728 86% accept rate.

This is very generalized question considering that you have not posted what code you are using and how you are implementing AudioStreamer in your code. – Parth Bhatt Sep 19 '11 at 7:24 please go through the link given with previous question which includes code.. – DShah Sep 19 '11 at 7:30 Ok got it. But do delete the previous question and bring the code in this question.

– Parth Bhatt Sep 19 '11 at 7:52.

Actual problem I was having is when my song is being stream and I click next then 2 songs started toghther. So I found that this is a bug in AudioStreamer Class and the solution to this could be something as link given on gitHub.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions