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.



339
340
341
# File 'docs/taglib/mp4.rb', line 339

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



347
348
349
# File 'docs/taglib/mp4.rb', line 347

def codec
  @codec
end

#encrypted?Boolean (readonly)

Returns Whether or not the file is encrypted.

Returns:

  • (Boolean)

    Whether or not the file is encrypted.



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

def encrypted?
  @encrypted?
end