Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
platf::pa::server_t::lock_t Class Reference

Public Member Functions

 lock_t (pa_threaded_mainloop *loop)
 lock_t (const lock_t &)=delete
lock_t & operator= (const lock_t &)=delete

Detailed Description

PulseAudio calls are not thread-safe. The threaded main loop runs on a thread of its own and dispatches every callback there with its lock held; any other thread must hold that lock to call into the context.

Definition at line 221 of file audio.cpp.

Constructor & Destructor Documentation

◆ lock_t()

platf::pa::server_t::lock_t::lock_t ( pa_threaded_mainloop * loop)
inlineexplicit

Definition at line 223 of file audio.cpp.

◆ ~lock_t()

platf::pa::server_t::lock_t::~lock_t ( )
inline

Definition at line 228 of file audio.cpp.


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