-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
126 changed files
with
914 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
#!/usr/bin/env python3 | ||
# This file is part of Xpra. | ||
# Copyright (C) 2010-2022 Antoine Martin <[email protected]> | ||
# Copyright (C) 2010-2023 Antoine Martin <[email protected]> | ||
# Xpra is released under the terms of the GNU GPL v2, or, at your option, any | ||
# later version. See the file COPYING for details. | ||
|
||
import sys | ||
from time import monotonic | ||
from collections import deque | ||
from threading import Lock | ||
from typing import Dict | ||
from gi.repository import GObject # @UnresolvedImport | ||
|
||
from xpra.audio.audio_pipeline import AudioPipeline | ||
|
@@ -342,7 +343,7 @@ def eos(self): | |
self.cleanup() | ||
return GST_FLOW_OK | ||
|
||
def get_info(self) -> dict: | ||
def get_info(self) -> Dict: | ||
info = super().get_info() | ||
if QUEUE_TIME>0 and self.queue: | ||
clt = self.queue.get_property("current-level-time") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# This file is part of Xpra. | ||
# Copyright (C) 2015-2020 Antoine Martin <[email protected]> | ||
# Copyright (C) 2015-2023 Antoine Martin <[email protected]> | ||
# Xpra is released under the terms of the GNU GPL v2, or, at your option, any | ||
# later version. See the file COPYING for details. | ||
|
||
import os | ||
import sys | ||
from time import monotonic | ||
from collections import namedtuple | ||
from typing import Dict | ||
|
||
from xpra.gst_common import import_gst, format_element_options | ||
from xpra.audio.gstreamer_util import ( | ||
|
@@ -299,7 +300,7 @@ def get_state(self): | |
return self.state | ||
|
||
|
||
def get_info(self) -> dict: | ||
def get_info(self) -> Dict: | ||
return self.info | ||
|
||
def info_update(self, _wrapper, info): | ||
|
Oops, something went wrong.