Discman
Loading...
Searching...
No Matches
audio_output.h File Reference
#include <iostream>
#include <portaudio.h>
#include <stdint.h>
#include "producer_consumer/consumer.h"
Include dependency graph for audio_output.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AudioOutput< T >
 Abstracts PortAudio using a given audio sample data type. More...
 

Variables

template<typename T>
AudioOutput< T > * AudioOutput< T >::_instance = nullptr
 The global AudioOutput instance.
 
template<typename T>
PaError AudioOutput< T >::_pa_error
 
template<typename T>
PaStream * AudioOutput< T >::_pa_stream
 

Detailed Description

Author
Nir Jacobson
Date
2026-04-07

Definition in file audio_output.h.

Variable Documentation

◆ AudioOutput< T >::_instance

template<typename T>
AudioOutput<T>* AudioOutput< T >::_instance = nullptr

The global AudioOutput instance.

Template Parameters
TThe data type of an audio sample. Must be either int16_t or float.

Definition at line 76 of file audio_output.h.

◆ AudioOutput< T >::_pa_error

template<typename T>
PaError AudioOutput< T >::_pa_error

Definition at line 79 of file audio_output.h.

◆ AudioOutput< T >::_pa_stream

template<typename T>
PaStream* AudioOutput< T >::_pa_stream

Definition at line 81 of file audio_output.h.