Move state to pipewire thread instead of the gtk thread.

This will allow easier state-keeping later, when setting up info-listeners on structs.
This commit is contained in:
Tom A. Wagner
2021-06-06 09:20:07 +02:00
parent 118c1ca28c
commit 907ef328d2
4 changed files with 275 additions and 270 deletions

View File

@@ -7,7 +7,7 @@ use gtk::{
use log::warn;
use pipewire::spa::Direction;
use crate::application::MediaType;
use crate::MediaType;
mod imp {
use once_cell::{sync::Lazy, unsync::OnceCell};