pianod2
multisource multiuser scriptable networked music player
Namespaces | Functions
libsdloutput.cpp File Reference

SDL output. More...

#include <config.h>
#include <stdexcept>
#include <mutex>
#include <condition_variable>
#include "audio/audiooutput.h"
#include "libsdloutput.h"
Include dependency graph for libsdloutput.cpp:

Namespaces

 Audio
 Classes dealing with audio output drivers and decoding/playing audio files.
 

Functions

static void Audio::audio_fetch_callback (void *context, uint8_t *buffer, int length)
 The audio function callback takes the following parameters: buffer: A pointer to the audio buffer to be filled length: The length (in bytes) of the audio buffer. More...
 

Detailed Description

SDL output.

Audio output module for Simple DirectMedia Layer (libsdl). Note libsdl cannot open the same device multiple times, and therefore is incapable of crossfading.