> For the complete documentation index, see [llms.txt](https://canardoux.gitbook.io/tau/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canardoux.gitbook.io/tau/doc/pages/tau-api/player/is_decoder_supported.md).

# The τ Player API

isDecoderSupported()

## `isDecoderSupported()`

* Dart API: [isDecoderSupported()](https://github.com/Canardoux/tau/tree/6bd245d293bcf9a123677735835549585d32b2ee/doc/pages/tau-api/player/pages/flutter-sound/api/player/FlutterSoundPlayer/isDecoderSupported.html).

This verb is useful to know if a particular codec is supported on the current platform. Returns a Future.

*Example:*

[Dart](/tau/doc/pages/tau-api/player/is_decoder_supported.md#dart)

[Javascript](/tau/doc/pages/tau-api/player/is_decoder_supported.md#javascript)

```

         if ( await myPlayer.isDecoderSupported(Codec.opusOGG) ) doSomething;
```

```

        Lorem ipsum ...
```

\</div>
