# VoiceActivityDetectorStats

<a id="voiceactivitydetectorstats"></a>

# VoiceActivityDetectorStats

```cpp
#include <icy/speech/voiceactivitydetector.h>

struct VoiceActivityDetectorStats
```

[Defined in src/speech/include/icy/speech/voiceactivitydetector.h:45](https://github.com/auscaster/icey/blob/main/src/speech/include/icy/speech/voiceactivitydetector.h#L45)

Counts of packets seen and events emitted, whether speech is active, and the last measured levels.

## Public Attributes

| Return | Name | Description |
|--------|------|-------------|
| `uint64_t` | [`seen`](#seen)  |  |
| `uint64_t` | [`emitted`](#emitted)  |  |
| `bool` | [`active`](#active-5)  |  |
| `float` | [`lastLevel`](#lastlevel)  |  |
| `float` | [`lastPeak`](#lastpeak)  |  |

---

<a id="seen"></a>

### seen

```cpp
uint64_t seen = 0
```

[Defined in src/speech/include/icy/speech/voiceactivitydetector.h:47](https://github.com/auscaster/icey/blob/main/src/speech/include/icy/speech/voiceactivitydetector.h#L47)

---

<a id="emitted"></a>

### emitted

```cpp
uint64_t emitted = 0
```

[Defined in src/speech/include/icy/speech/voiceactivitydetector.h:48](https://github.com/auscaster/icey/blob/main/src/speech/include/icy/speech/voiceactivitydetector.h#L48)

---

<a id="active-5"></a>

### active

```cpp
bool active = false
```

[Defined in src/speech/include/icy/speech/voiceactivitydetector.h:49](https://github.com/auscaster/icey/blob/main/src/speech/include/icy/speech/voiceactivitydetector.h#L49)

---

<a id="lastlevel"></a>

### lastLevel

```cpp
float lastLevel = 0.0f
```

[Defined in src/speech/include/icy/speech/voiceactivitydetector.h:50](https://github.com/auscaster/icey/blob/main/src/speech/include/icy/speech/voiceactivitydetector.h#L50)

---

<a id="lastpeak"></a>

### lastPeak

```cpp
float lastPeak = 0.0f
```

[Defined in src/speech/include/icy/speech/voiceactivitydetector.h:51](https://github.com/auscaster/icey/blob/main/src/speech/include/icy/speech/voiceactivitydetector.h#L51)
