_writer.println (margn4 + elementStart ("aes:timeRange")); writeAESTimeRange (margn3, facergn.getStartTime (), facergn.getDuration ()); _writer.println (margn4 + elementEnd ("aes:timeRange")); int nchan = aes.getNumChannels ();
addAESTimeRange (timeline, facergn.getStartTime (), facergn.getDuration ()); region.add (timeline); int nchan = aes.getNumChannels (); if (nchan != AESAudioMetadata.NULL) {
/** Sets the start time in samples. * This affects the current face and its first FaceRegion. */ public void setStartTime (long samples) { _curFace.setStartTime (samples); _curFace.getFaceRegion(0).setStartTime (samples); }
/** Sets the array of channel map locations. The length * of the array must equal the number of channels. */ public void setMapLocations (String[] locations) { _curFace.getFaceRegion(0).setMapLocations (locations); }
/** Returns the names of the map locations. * The returned * value is an array whose length equals the number of * channels and whose elements correspond to channels 0, 1, * etc. */ public String[] getMapLocations() { return _curFace.getFaceRegion(0).getMapLocations(); }
/** Sets the duration in samples. * This affects the current face and its first FaceRegion. */ public void setDuration (long duration) { _curFace.setDuration (duration); _curFace.getFaceRegion(0).setDuration (duration); }