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

# AuGetScratchFlow(3x)

get a scratch flow

## Name

**AuGetScratchFlow** - get a scratch flow

## Synopsis

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

**AuFlowID** **AuGetScratchFlow**(*server*, *status*)\
\
     **AuServer** \**server*;\
\
     **AuStatus** \**status*; /\* **RETURN** \*/

## Arguments

- *server*

  Specifies the connection to the audio server.

- *status*

  If non-NULL, flush the output buffer and return the status from the server.

## Description

**AuGetScratchFlow** gets one of the pre-allocated flow ID's if availible or creates a new flow if not and returns the flow ID or **AuNone** if there was an error.

## Errors

**AuBadAlloc**.

## See Also

**AuCreateFlow**, **AuReleaseScratchFlow**.

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