clan::Sound Class Reference - ClanLib SDK
Description: clan::Sound Class Reference

Static Public Member Functions | List of all members
clan::Sound Class Reference
clanSound Audio Mixing

Sound interface in ClanLib. More...

`#include <sound.h>`

## Static Public Member Functions
static SoundOutput | get_current_output ()
| Returns the current selected sound output.
static int | get_mixing_frequency ()
| Returns the mixing frequency of the current sound output.
static const std::string & | get_name ()
| Returns the name of the current sound output:
static void | select_output (const SoundOutput &output)
| Change the current selected sound output.

## Detailed Description

Sound interface in ClanLib.

## Member Function Documentation

## ◆ get_current_output()

SoundOutput clan::Sound::get_current_output | ( |  | ) |
| static

Returns the current selected sound output.

## ◆ get_mixing_frequency()

int clan::Sound::get_mixing_frequency | ( |  | ) |
| static

Returns the mixing frequency of the current sound output.

## ◆ get_name()

const std::string & clan::Sound::get_name | ( |  | ) |
| static

Returns the name of the current sound output:

## ◆ select_output()

void clan::Sound::select_output | ( | const SoundOutput & | output | ) |
| static

Change the current selected sound output.

Parameters

  output | The new current selected sound output.

The documentation for this class was generated from the following file:

- Sources/API/Sound/sound.h