# ChannelCount(AudioSpeakerMode)

> Calculate the amount of channels represented by this AudioSpeakerMode.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public static int ChannelCount(this AudioSpeakerMode speakerMode)
```

### Parameters

**** (\[AudioSpeakerMode]\(/engine/6000.7/script-reference/unityengine/audiospeakermode)):&#x20;

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### Remarks

This is also documented in the page for [AudioSpeakerMode](/engine/6000.7/script-reference/unityengine/audiospeakermode.md).
