# GetSourceAudioSampleRate(ushort)

> Sample rate of the specified audio track.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public uint GetSourceAudioSampleRate(ushort audioTrackIdx)
```

### Parameters

**** (\[ushort]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): Index of the audio track to query.

### Returns

| Type                                                         | Description           |
| ------------------------------------------------------------ | --------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | Sample rate in Hertz. |
