adding in new Segments class
working on getting the writing of segment mappings correct.
new format mappings temporarily written to test.map
in the middle of some changes
further implementing InterleavedPlayer using NewSegments
Added a new Segment class to wrap Pair<Long, Long>
interleaved player works on simple case using new framework
Ensured that the iterator.hasNext() get's checked in the notification marker listeners
trying to figure out why notification marker listener is not getting called in new interleaved playing
Extract audio average processing into its own class for reuse with background noise extraction.
InterleavedPlayer.setOnCompletionListener now sets a bothCompletedListener to the original and respeaking. Fixed a logic error in the notificationMarker callbacks for respeaking and original. Call onMarkerReachedListener in the onCompletionLIstener passed to MarkedMediaPlayers
Merge remote-tracking branch 'origin/segments' into segments
Changed MarkedMediaPlayer to composition of MediaPlayer instead of inheritance so that the callbacks for the completion and markedMediaPlayer are more elegant / work
fixed IllegalstateException on leaving ListenActivity for interleaved. Allowed for respeakings to be played over again from the beginning in interleaved mode once completed
debugging the incorrect calls to onCompletion on pausing
big pair programmed InterleavedPlayer refactoring
Retained Interleaved replaying without pausing
Interleaved progress
boom pausing first segment works
+ Cleaned up and organized InterleavedPlayer, extracted a few more methods