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

# AuDefineToFormat(3x)

return the format specified by a C-preprocessor define.

## Name

**AuDefineToFormat** - return the format specified by a C-preprocessor define.

## Synopsis

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

int **AuDefineToFormat**(*define*)\
\
     char \**define*;

## Arguments

- *define*

  Specifies the C-preprocessor define.

## Description

**AuDefineToFormat** returns the format specified by *define* or -1 if *define* isnt valid.

## See Also

**AuFormatToDefine**.

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