# Audio Line Provider

Audio Line Provider is a Line Provider that fetches localized text for a line of dialogue, as well as a localized AudioClip.

Audio Line Provider will automatically use Addressable Assets, if the Addressables package is installed in your Unity project and

### Inspector

| Property           | Description                                                                              |
| ------------------ | ---------------------------------------------------------------------------------------- |
| Text Language Code | The language that the Audio Line Provider should use to fetch localised text for.        |
| Audio Language     | The language that the Audio Line Provider should use to fetch localised audio clips for. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yarnspinner.dev/2.2/using-yarnspinner-with-unity/components/line-provider/audio-line-provider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
