audioDir
audioDir():
Promise<string>
Defined in: path.ts:198
Returns the path to the user’s audio directory.
- Linux: Resolves to
xdg-user-dirs’XDG_MUSIC_DIR. - macOS: Resolves to
$HOME/Music. - Windows: Resolves to
{FOLDERID_Music}.
Promise<string>
import { audioDir } from '@tauri-apps/api/path';const audioDirPath = await audioDir();1.0.0
© 2025 Tauri Contributors. CC-BY / MIT