The Battle for Wesnoth  1.19.5+dev
Static Public Member Functions | Public Attributes | List of all members
sound::driver_status Struct Reference

#include <sound.hpp>

Static Public Member Functions

static driver_status query ()
 

Public Attributes

bool initialized
 
int frequency
 
uint16_t format
 
int channels
 
int chunk_size
 

Detailed Description

Definition at line 40 of file sound.hpp.

Member Function Documentation

◆ query()

driver_status sound::driver_status::query ( )
static

Definition at line 431 of file sound.cpp.

References prefs::get(), and prefs::sound_buffer_size().

Member Data Documentation

◆ channels

int sound::driver_status::channels

Definition at line 45 of file sound.hpp.

◆ chunk_size

int sound::driver_status::chunk_size

Definition at line 46 of file sound.hpp.

◆ format

uint16_t sound::driver_status::format

Definition at line 44 of file sound.hpp.

◆ frequency

int sound::driver_status::frequency

Definition at line 43 of file sound.hpp.

◆ initialized

bool sound::driver_status::initialized

Definition at line 42 of file sound.hpp.


The documentation for this struct was generated from the following files: