UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
spa_hook_uniq Struct Reference

#include <pipewire_common.hpp>

Collaboration diagram for spa_hook_uniq:
Collaboration graph

Public Member Functions

 spa_hook_uniq ()
 
 spa_hook_uniq (spa_hook_uniq &)=delete
 
 ~spa_hook_uniq ()
 
spa_hook & get ()
 
spa_hook_uniq & operator= (spa_hook_uniq &)=delete
 

Public Attributes

spa_hook hook
 

Detailed Description

Definition at line 31 of file pipewire_common.hpp.

Constructor & Destructor Documentation

◆ spa_hook_uniq() [1/2]

spa_hook_uniq::spa_hook_uniq ( )
inline

Definition at line 32 of file pipewire_common.hpp.

32 {
33 spa_zero(hook);
34 }

References hook.

◆ ~spa_hook_uniq()

spa_hook_uniq::~spa_hook_uniq ( )
inline

Definition at line 35 of file pipewire_common.hpp.

35 {
36 /*Check if hook is initialized.
37 * Needed only for old pw versions before commit 2394413e */
38 if(!!hook.link.prev)
39 spa_hook_remove(&hook);
40 }

References hook.

◆ spa_hook_uniq() [2/2]

spa_hook_uniq::spa_hook_uniq ( spa_hook_uniq & )
delete

Member Function Documentation

◆ get()

spa_hook & spa_hook_uniq::get ( )
inline

Definition at line 44 of file pipewire_common.hpp.

44{ return hook; }

References hook.

Referenced by get_pw_device_list(), initialize_pw_common(), and start_pipewire().

◆ operator=()

spa_hook_uniq & spa_hook_uniq::operator= ( spa_hook_uniq & )
delete

Member Data Documentation

◆ hook

spa_hook spa_hook_uniq::hook

Definition at line 46 of file pipewire_common.hpp.

Referenced by spa_hook_uniq(), ~spa_hook_uniq(), and get().


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