---
title: completeAnalysis()
framework: soundanalysis
role: symbol
role_heading: Instance Method
path: soundanalysis/snaudiostreamanalyzer/completeanalysis()
---

# completeAnalysis()

Notifies the analyzer when it receives the final audio buffer.

## Declaration

```swift
func completeAnalysis()
```

## Discussion

Discussion Use this method for requests that provide final results when a stream reaches its end. The analyzer ignores any further calls to the analyze(_:atAudioFramePosition:) method.

## See Also

### Analyzing Data

- [analyze(_:atAudioFramePosition:)](soundanalysis/snaudiostreamanalyzer/analyze(_:ataudioframeposition:).md)
