MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::PipewireBackend Class Reference

PipeWire native implementation of the audio backend interface. More...

#include <PipewireBackend.hpp>

+ Inheritance diagram for MayaFlux::Core::PipewireBackend:
+ Collaboration diagram for MayaFlux::Core::PipewireBackend:

Public Member Functions

void cleanup () override
 Releases all resources held by the backend.
 
std::unique_ptr< AudioDevicecreate_device_manager () override
 Creates a device manager for audio endpoint discovery.
 
std::unique_ptr< AudioStreamcreate_stream (unsigned int output_node_id, unsigned int input_node_id, GlobalStreamInfo &stream_info, void *user_data) override
 Creates an audio stream for a specific device.
 
std::string get_version_string () const override
 Retrieves the backend implementation version.
 
 PipewireBackend ()
 
 ~PipewireBackend () override
 
- Public Member Functions inherited from MayaFlux::Core::IAudioBackend
virtual ~IAudioBackend ()=default
 Virtual destructor for proper cleanup of derived classes.
 

Detailed Description

PipeWire native implementation of the audio backend interface.

Owns the pw_main_loop, pw_context, and pw_core for the process lifetime. Device enumeration uses the PipeWire registry to discover Audio/Sink and Audio/Source nodes. Stream creation produces a PipewireStream that wraps a pw_stream follower node and translates PipeWire buffer delivery into the engine's (void*, void*, uint32_t) callback contract.

Definition at line 25 of file PipewireBackend.hpp.


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