🎥 Make videos programmatically with React
Update extract-audio.md
Jonny Burgerd1d2cda22256
diff --git a/packages/docs/docs/renderer/extract-audio.md b/packages/docs/docs/renderer/extract-audio.mdindex 288bfd890f..5bb129902d 100644--- a/packages/docs/docs/renderer/extract-audio.md+++ b/packages/docs/docs/renderer/extract-audio.md@@ -15,17 +15,22 @@ Extracts the audio from a video source and saves it to the specified output path## Example-```ts+```ts twoslash// @module: ESNext// @target: ESNextimport { extractAudio } from "@remotion/renderer";-await extractAudio("./path-to-video.mp4", "./output-audio-path.aac");+await extractAudio({+ videoSource: "./path-to-video.mp4",+ audioOutput: "./output-audio-path.aac",+});```## Arguments-### `videoSourcePath`+An object containing the following properties:++### `videoSource`_string_@@ -37,6 +42,12 @@ _string_The path where the extracted audio will be saved.+### `logLevel`++_optional_++One of `verbose`, `info`, `warn`, `error`.+## Return ValueThe function returns a `Promise<void>`, which resolves once the audio extraction is complete.