SFML
Simple and Fast Multimedia Library
Loading...
Searching...
No Matches
PlaybackDevice.hpp File Reference
#include <SFML/Audio/Export.hpp>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for PlaybackDevice.hpp:

Go to the source code of this file.

Namespaces

namespace  sf
namespace  sf::PlaybackDevice

Functions

SFML_AUDIO_API std::vector< std::string > sf::PlaybackDevice::getAvailableDevices ()
 Get a list of the names of all available audio playback devices.
SFML_AUDIO_API std::optional< std::string > sf::PlaybackDevice::getDefaultDevice ()
 Get the name of the default audio playback device.
SFML_AUDIO_API bool sf::PlaybackDevice::setDevice (const std::string &name)
 Set the audio playback device.
SFML_AUDIO_API std::optional< std::string > sf::PlaybackDevice::getDevice ()
 Get the name of the current audio playback device.