Function tauri::api::path::audio_dir

source ·
pub fn audio_dir() -> Option<PathBuf>
Expand description

Returns the path to the user’s audio directory.

§Platform-specific

  • Linux: Resolves to xdg-user-dirsXDG_MUSIC_DIR.
  • macOS: Resolves to $HOME/Music.
  • Windows: Resolves to {FOLDERID_Music}.