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

# AuMakeElementExportBucket(3x)

initialize an ExportBucket element

## Name

**AuMakeElementExportBucket** - initialize an ExportBucket element

## Synopsis

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

**AuMakeElementExportBucket**(*element*, *input*, *bucket*, *num\_samples*, *offset*, *num\_actions*, *actions*)\
\
     **AuElement \****element***; /\* RETURN \*/**\
\
     **unsigned short** *input***;**\
\
     **AuBucketID** *bucket***;**\
\
     **AuUint32** *num\_samples***;**\
\
     **AuInt32** *offset***;**\
\
     **int** *num\_actions***;**\
\
     **AuElementAction \****actions***;**

## Arguments

- *element*

  **Returns the initialized element.**

- *input*

  **Specifies the index of the element to supply the audio data to this element.**

- *bucket*

  **Specifies the ID of the bucket to write the audio data to.**

- *num\_samples*

  **Specifies the number of samples to write to the bucket.**

- *offset*

  **Specifies the offset into the bucket to begin writing at.**

- *num\_actions*

  **Specifies the number of actions in** *actions***.**

- *actions*

  **Specifies the list of actions to associate with this element.** **Entries in this list can be initialized with AuMakeChangeStateAction, AuMakeSendNotifyAction, and AuMakeNoopAction.** **May be NULL.**

## Description

**AuMakeElementExportBucket sets the** *type* **member of** *element* **to AuElementTypeExportBucket and initializes the** *exportbucket* **member of** *element* **with the remaining arguments.**

**AuMakeElementExportBucket is implemented as a macro.**

## See Also

**AuMakeElementAddConstant,** **AuMakeElementBundle,** **AuMakeElementExportClient,** **AuMakeElementExportDevice,** **AuMakeElementExportMonitor,** **AuMakeElementImportBucket,** **AuMakeElementImportClient,** **AuMakeElementImportDevice,** **AuMakeElementImportWaveForm,** **AuMakeElementMultiplyConstant,** **AuMakeElementSum.**

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