private void updateDetail ( TrackMetadataUpdate update , WaveformDetail detail ) { detailHotCache . put ( DeckReference . getDeckReference ( update . player , 0 ) , detail ) ; // Main deck if ( update . metadata . getCueList ( ) != null ) { // Update the cache with any hot cues in this track as well for ( CueList . Entry entry : update . metadata . getCueList ( ) . entries ) { if ( entry . hotCueNumber != 0 ) { detailHotCache . put ( DeckReference . getDeckReference ( update . player , entry . hotCueNumber ) , detail ) ; } } } deliverWaveformDetailUpdate ( update . player , detail ) ; }
We have obtained waveform detail for a device so store it and alert any listeners .