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

# AuGetScratchFlowToBucket(3x)

use a scratch flow to create an export to a bucket.

## Name

**AuGetScratchFlowToBucket** - use a scratch flow to create an export to a bucket.

## Synopsis

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

**AuFlowID** **AuGetScratchFlowToBucket**(*server*, *bucket*, *import*, *status*)\
\
     **AuServer** \**server*;\
\
     **AuBucketID** *bucket*;\
\
     int \**import*; /\* **RETURN** \*/\
\
     **AuStatus** \**status*; /\* **RETURN** \*/

## Arguments

- *server*

  Specifies the connection to the audio server.

- *bucket*

  Specifies the ID of the bucket to use.

- *import*

  Returns the index of the ImportClient element.

- *status*

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

## Description

**AuGetScratchFlowToBucket** uses a scratch flow to create an export to *bucket*.

## Errors

**AuBadAlloc**.

## See Also

**AuCreateFlow**, **AuGetScratchFlow**.

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