Function sfml::audio::capture::is_available[][src]

#[must_use]pub fn is_available() -> bool

Check if the system supports audio capture

This function should always be called before using the audio capture features. If it returns false, then any attempt to use SoundRecorder will fail.

Return true if audio capture is supported, false otherwise