import resolveMutedClips from './resolveMutedClips';
import resolveSoloedTakeLanes from './resolveSoloedTakeLanes';
import { StudioProjectState } from './types';

export default function resolveHeardState(state: StudioProjectState) {
  const withTakeLanesResolved = resolveSoloedTakeLanes(state);
  const withMutedClipsResolved = resolveMutedClips(withTakeLanesResolved);
  return withMutedClipsResolved;
}
