Class: TagLib::RIFF::AIFF::File
Overview
The file class for .aiff
files.
Class Method Summary collapse
-
.open(filename, read_properties = true) {|file| ... } ⇒ Object
Creates a new file and passes it to the provided block, closing the file automatically at the end of the block.
Note that after the block is done, the file is closed and all memory is released for objects read from the file (basically everything from the
TagLib
namespace).Using
open
is preferable to usingnew
and then manuallyclose
.
Instance Method Summary collapse
-
#audio_properties ⇒ TagLib::RIFF::AIFF::Properties
Returns audio properties.
-
#id3v2_tag? ⇒ Boolean
Whether or not the file on disk actually has an ID3v2 tag.
-
#initialize(filename, read_properties = true) ⇒ File
constructor
Load an AIFF file.
-
#tag ⇒ TagLib::ID3v2::Tag
Returns the ID3v2 tag.
Methods inherited from File
Constructor Details
#initialize(filename, read_properties = true) ⇒ File
Load an AIFF file.
40 41 |
# File 'docs/taglib/aiff.rb', line 40 def initialize(filename, read_properties=true) end |
Class Method Details
.open(filename, read_properties = true) {|file| ... } ⇒ Object
Creates a new file and passes it to the provided block, closing the file automatically at the end of the block.
Note that after the block is done, the file is closed and
all memory is released for objects read from the file
(basically everything from the TagLib
namespace).
Using open
is preferable to using new
and then
manually close
.
32 33 |
# File 'docs/taglib/aiff.rb', line 32 def self.open(filename, read_properties=true) end |
Instance Method Details
#audio_properties ⇒ TagLib::RIFF::AIFF::Properties
Returns audio properties.
52 53 |
# File 'docs/taglib/aiff.rb', line 52 def audio_properties end |
#id3v2_tag? ⇒ Boolean
Returns Whether or not the file on disk actually has an ID3v2 tag.
58 59 |
# File 'docs/taglib/aiff.rb', line 58 def id3v2_tag? end |
#tag ⇒ TagLib::ID3v2::Tag
Returns the ID3v2 tag.
46 47 |
# File 'docs/taglib/aiff.rb', line 46 def tag end |