---
name: "SoundCloseFile"
section: "3x"
platform: "linux"
package: "nas"
version: "1.2p5-3"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/SoundCloseFile/3x"
---

# SoundCloseFile(3x)

close an audio file description.

## Name

**SoundCloseFile** - close an audio file description.

## Synopsis

\#include \<audio/audiolib.h\>

int **SoundCloseFile**(*sound*)\
\
     **Sound** *sound*;

## Arguments

- *sound*

  Specifies the audio file description.

## Description

**SoundCloseFile** closes the audio file described by *sound* and returns 0 if successfull or -1 if there was an error. Any unwritten data is written and the storage associated with *sound* is deallocated.

## See Also

**SoundOpenFileForReading**, **SoundOpenFileForWriting**.

audiolib - **Network Audio System** C Language Interface
