Class: TagLib::MP4::Properties

Inherits:
AudioProperties show all
Defined in:
docs/taglib/mp4.rb

Constant Summary collapse

Unknown =
0
AAC =
1
ALAC =
2

Constants inherited from AudioProperties

AudioProperties::Accurate, AudioProperties::Average, AudioProperties::Fast

Instance Attribute Summary collapse

Attributes inherited from AudioProperties

#bitrate, #channels, #length_in_milliseconds, #length_in_seconds, #sample_rate

Instance Attribute Details

#bits_per_sampleInteger (readonly)

Returns The number of bits per audio sample.

Returns:

  • (Integer)

    The number of bits per audio sample.


341
342
343
# File 'docs/taglib/mp4.rb', line 341

def bits_per_sample
  @bits_per_sample
end

#codecInteger (readonly)

Returns The codec used in the file.

Returns:

  • (Integer)

    The codec used in the file.

Since:

  • 1.0.0


349
350
351
# File 'docs/taglib/mp4.rb', line 349

def codec
  @codec
end

#encrypted?Boolean (readonly)

Returns Whether or not the file is encrypted.

Returns:

  • (Boolean)

    Whether or not the file is encrypted.


344
345
346
# File 'docs/taglib/mp4.rb', line 344

def encrypted?
  @encrypted?
end