Audacity 3.2.0
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 140 of file FileFormats.h.

Constructor & Destructor Documentation

◆ SFFile() [1/2]

SFFile::SFFile ( )
default

◆ SFFile() [2/2]

SFFile::SFFile ( SFFile &&  that)
inline

Definition at line 143 of file FileFormats.h.

144 : std::unique_ptr<SNDFILE, ::SFFileCloser>( std::move( that ) )
145 {}

Member Function Documentation

◆ close()

int SFFile::close ( )
inline

Definition at line 148 of file FileFormats.h.

149 {
150 auto result = get_deleter() ( get() );
151 release();
152 return result;
153 }

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