nomlib
Loading...
Searching...
No Matches
nom::audio::SoundFileWriter Class Reference
Inheritance diagram for nom::audio::SoundFileWriter:
[legend]

Public Member Functions

virtual bool valid () const override
virtual bool open (const std::string &filename, SoundInfo &info) override
virtual int64 write (void *data, nom::size_type byte_size) override
virtual int64 seek (int64 offset, SoundSeek dir) override
virtual void close () override

Private Member Functions

SoundInfo parse_header (SF_INFO &metadata)

Static Private Member Functions

static const char * parse_tags (SNDFILE_tag *fp, uint32 sound_tag)

Private Attributes

SNDFILE_tag * fp_ = nullptr
 A third-party file descriptor whose owned by the end-user.

Detailed Description

Definition at line 46 of file SoundFileWriter.hpp.

Member Function Documentation

◆ close()

virtual void nom::audio::SoundFileWriter::close ( )
overridevirtual

◆ open()

virtual bool nom::audio::SoundFileWriter::open ( const std::string & filename,
SoundInfo & info )
overridevirtual

◆ seek()

virtual int64 nom::audio::SoundFileWriter::seek ( int64 offset,
SoundSeek dir )
overridevirtual

◆ valid()

virtual bool nom::audio::SoundFileWriter::valid ( ) const
overridevirtual

◆ write()

virtual int64 nom::audio::SoundFileWriter::write ( void * data,
nom::size_type byte_size )
overridevirtual

Member Data Documentation

◆ fp_

SNDFILE_tag* nom::audio::SoundFileWriter::fp_ = nullptr
private

A third-party file descriptor whose owned by the end-user.

See also
libsndfile

Definition at line 71 of file SoundFileWriter.hpp.


The documentation for this class was generated from the following file: