---
name: "SoundAbbrevToFileFormat"
section: "3nas"
platform: "linux"
package: "libaudio-dev"
version: "1.9.4-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SoundAbbrevToFileFormat"
---

# SoundAbbrevToFileFormat(3nas)

return a file format for a given name abbreviation string.

## Name

**SoundAbbrevToFileFormat** - return a file format for a given name abbreviation string.

## Synopsis

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

int **SoundAbbrevToFileFormat**(*string*)\
\
      char \**string*;

## Arguments

- *string*

  Specifies an abbreviated audio file format name.

## Description

**SoundAbbrevToFileFormat** returns the file format named by *string* or -1 if *string* is not recognized.

## See Also

**SoundStringToFileFormat**.

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