DigitalDJ/AudioStreamer — Issue #17: This old code can cause 'hwiu' problem
Author: sprhawk
Created: 2011-11-30 17:38:25+00:00
State: open

commit: c9cbb7b80d05800d097f9e3d74d75579bfa6f68d

that two lines : https://github.com/DigitalDJ/AudioStreamer/commit/c9cbb7b80d05800d097f9e3d74d75579bfa6f68d

If quickly change songs with different audio streamer instances, it may cause 'hwiu' problem.

Because When quickly change/skip songs , program first 'stop's current audiostreamer instance, then creates a new instance.　But during quickly it may during 'WAITING_FOR_DATA' state, and - (void)stop just returned, and the instance is released. However the old thread start a new audio queue then, the new instance cannot re-start a AQ, returned a 'hwiu'