nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::AudioDevice Class Reference

#include <audio.h>

Public Member Functions

 ~AudioDevice ()
 AudioDevice (const AudioDevice &)=delete
AudioDevice & operator= (const AudioDevice &)=delete

Static Public Member Functions

static absl::StatusOr< std::unique_ptr< AudioDevice > > Create ()

Detailed Description

raylib's audio device, which plays our sound through the system's. Like the window, there's one, opened after the window and closed before it.

Definition at line 41 of file audio.h.

Constructor & Destructor Documentation

◆ ~AudioDevice()

nanommo::AudioDevice::~AudioDevice ( )

Definition at line 83 of file audio.cc.

◆ AudioDevice()

nanommo::AudioDevice::AudioDevice ( const AudioDevice & )
delete

Member Function Documentation

◆ Create()

absl::StatusOr< std::unique_ptr< AudioDevice > > nanommo::AudioDevice::Create ( )
static

The device, or why there's none, such as in a container with no sound card.

Definition at line 75 of file audio.cc.

◆ operator=()

AudioDevice & nanommo::AudioDevice::operator= ( const AudioDevice & )
delete

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