@Synchronized private fun isSelectedTrackRecording(): Boolean { return trackDataHub != null && trackDataHub.isSelectedTrackRecording() }
Returns true if the selected track is recording . Needs to be synchronized because trackDataHub can be accessed by multiple threads .