# vx_req_aux_capture_audio_start

> Learn about audio management.

**Module:** **[Audio Devices](./group__devices.md)**

Ensure that a specific selected capture device is functioning properly.  [More...](#detailed-description)

`#include <VxcRequests.h>`

## Public Attributes

|                                                        | Name                                                                                                                                                                                                 |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [vx\_req\_base\_t](./_vxc_8h.md#typedef-vx_req_base_t) | **[base](./structvx__req__aux__capture__audio__start.md#variable-base)** The common properties for all requests.                                                                                     |
| int                                                    | **[duration](./structvx__req__aux__capture__audio__start.md#variable-duration)**                                                                                                                     |
| int                                                    | **[loop\_to\_render\_device](./structvx__req__aux__capture__audio__start.md#variable-loop_to_render_device)** Loop audio to the selected render device.                                              |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)           | **[account\_handle](./structvx__req__aux__capture__audio__start.md#variable-account_handle)** An optional parameter that specifies the account handle of the user whose capture device will be used. |

## Detailed Description

```cpp
struct vx_req_aux_capture_audio_start;
```

Ensure that a specific selected capture device is functioning properly.

**See**: [vx\_resp\_aux\_capture\_audio\_start](./structvx__resp__aux__capture__audio__start.md)

This can only be successfully invoked if the capture device is not currently in use (such as if it is in a voice session). After the start audio capture method successfully completes, the Vivox SDK sound system starts sending VxAudioEvent\_t events at one half the capture frame rate.

## Public Attributes Documentation

### variable base

```cpp
vx_req_base_t base;
```

The common properties for all requests.

### variable duration

```cpp
int duration;
```

**Deprecated**:

This is deprecated and should not be used.

### variable loop\_to\_render\_device

```cpp
int loop_to_render_device;
```

Loop audio to the selected render device.

The default value is 0. To loop audio to a speaker, set this to 1.

### variable account\_handle

```cpp
VX_HANDLE account_handle;
```

An optional parameter that specifies the account handle of the user whose capture device will be used.

This must either be unset or the account\_handle that was passed in to a [vx\_req\_account\_anonymous\_login](./structvx__req__account__anonymous__login.md) request that previously succeeded. If unset, the default account\_handle is used.
