[][src]Function dirs_next::audio_dir

pub fn audio_dir() -> Option<PathBuf>

Returns the path to the user's audio directory.

The returned value depends on the operating system and is either a Some, containing a value from the following table, or a None.

PlatformValueExample
LinuxXDG_MUSIC_DIR/home/alice/Music
macOS$HOME/Music/Users/Alice/Music
Windows{FOLDERID_Music}C:\Users\Alice\Music