       "location=#{@location}"
     else
       "empty location value"
+
+  getTree: ->
+    obj = super
+    obj.location = @location
+    return obj
 
 # "urn "
 class DataEntryUrnBox extends Box

  getDetails: (detailLevel) ->
    "audioSpecificConfig=0x#{@decoderConfigDescriptor.decoderSpecificInfo.specificInfo.toString 'hex'} maxBitrate=#{@decoderConfigDescriptor.maxBitrate} avgBitrate=#{@decoderConfigDescriptor.avgBitrate}"

# mp4a
# Defined in ISO 14496-14
class MP4AudioSampleEntry extends AudioSampleEntry

  getDetails: (detailLevel) ->
    "created=#{formatDate @creationDate} modified=#{formatDate @modificationDate} timescale=#{@timescale} durationSeconds=#{@durationSeconds} lang=#{@language}"

  getTree: ->
    obj = super
    obj.creationDate = @creationDate
    obj.modificationDate = @modificationDate
    obj.timescale = @timescale
    obj.duration = @duration
    obj.durationSeconds = @durationSeconds
    obj.language = @language
    return obj

# Handler Reference Box (hdlr): declares the nature of the media in a track
# Container: Media Box ('mdia') or Meta Box ('meta')
# Defined in ISO 14496-12
