bpa;613789 Wrote:
> The 3.9b1 plugin has been downloaded over 5500 times and I reckoned if
> there was a big problem, users would have reported it. The user
> reported the deadlocks. mkanet has been the user who seems to be most
> active and was good by reporting any odd behaviour.
Yes, ignore me. I forgot about AudioMixer.drain() being called (in the
original code), which sets the toState to FLUSH->PAUSE and stops the
line.
Code:
--------------------
2011-02-25 22:55:29,973 DEBUG DEFAULT (SlimTCP-1) - AudioMixer.flush() BEGIN:
inState=PLAY, toState=PLAY, Line is Open and Running
2011-02-25 22:55:29,973 DEBUG DEFAULT (AudioMixer-1) -
AudioMixer.flushSamples() BEGIN: inState=PLAY, toState=FLUSH, Line is Open and
Stopped, framePositionOffset=3670742
2011-02-25 22:55:29,974 DEBUG DEFAULT (AudioMixer-1) -
AudioBuffer[name=OUTPUT-1].flush()
2011-02-25 22:55:29,975 DEBUG DEFAULT (AudioMixer-1) -
AudioMixer.flushSamples() END: inState=PLAY, toState=FLUSH, Line is Open and
Running, framePositionOffset=9245624
2011-02-25 22:55:29,975 WARN verbose (AudioDecoder-4) - audioDecoder did not
write (0) the same number of bytes as read (128000)
2011-02-25 22:55:29,975 DEBUG DEFAULT (AudioDecoder-4) -
AudioBuffer[name=DECODE-4].close()
2011-02-25 22:55:29,975 DEBUG DEFAULT (AudioDecoder-4) -
AudioDecoder[name=DECODER-4].run(): Finished
2011-02-25 22:55:29,975 DEBUG DEFAULT (AudioMixer-1) - AudioMixer.run():
BEGIN while(toState != PLAY) wait(): inState=PAUSE, toState=FLUSH, Line is Open
and Stopped
2011-02-25 22:55:29,975 DEBUG DEFAULT (AudioMixer-1) - AudioMixer.run(): END
while(toState != PLAY) wait() [InterruptedException]: inState=PAUSE,
toState=FLUSH, Line is Open and Stopped
2011-02-25 22:55:29,975 DEBUG DEFAULT (AudioMixer-1) -
AudioMixer.flushSamples() BEGIN: inState=PAUSE, toState=FLUSH, Line is Open and
Stopped, framePositionOffset=9245624
2011-02-25 22:55:29,975 DEBUG DEFAULT (SlimTCP-1) - AudioMixer.flush() END:
inState=PAUSE, toState=FLUSH, Line is Open and Stopped
2011-02-25 22:55:29,976 DEBUG DEFAULT (AudioMixer-1) -
AudioBuffer[name=OUTPUT-1].flush()
2011-02-25 22:55:29,976 DEBUG DEFAULT (AudioMixer-1) -
AudioMixer.flushSamples() END: inState=PAUSE, toState=FLUSH, Line is Open and
Running, framePositionOffset=9245624
2011-02-25 22:55:29,976 DEBUG DEFAULT (AudioMixer-1) - AudioMixer.drain()
BEGIN: inState=PLAY, toState=FLUSH, Line is Open and Running
2011-02-25 22:55:29,977 DEBUG DEFAULT (AudioMixer-1) - AudioMixer.drain()
END: inState=PLAY, toState=PAUSE, Line is Open and Stopped
--------------------
--
JackOfAll
------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=62060
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins