Audacity  3.0.3
Public Member Functions | List of all members
SFFile Struct Reference

#include <FileFormats.h>

Inheritance diagram for SFFile:
[legend]
Collaboration diagram for SFFile:
[legend]

Public Member Functions

 SFFile ()=default
 
 SFFile (SFFile &&that)
 
int close ()
 

Detailed Description

Definition at line 142 of file FileFormats.h.

Constructor & Destructor Documentation

◆ SFFile() [1/2]

SFFile::SFFile ( )
default

◆ SFFile() [2/2]

SFFile::SFFile ( SFFile &&  that)
inline

Definition at line 145 of file FileFormats.h.

146  : std::unique_ptr<SNDFILE, ::SFFileCloser>( std::move( that ) )
147  {}

Member Function Documentation

◆ close()

int SFFile::close ( )
inline

Definition at line 150 of file FileFormats.h.

151  {
152  auto result = get_deleter() ( get() );
153  release();
154  return result;
155  }

Referenced by ExportPCM::Export().

Here is the caller graph for this function:

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