pub fn audio_dir() -> Option<PathBuf>
Expand description
Returns the path to the user’s audio directory.
§Platform-specific
- Linux: Resolves to
xdg-user-dirs
’XDG_MUSIC_DIR
. - macOS: Resolves to
$HOME/Music
. - Windows: Resolves to
{FOLDERID_Music}
.