This file contains hidden or 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
diff --git a/src/cyndilib/receiver.pxd b/src/cyndilib/receiver.pxd | |
index 2d03940..a3650d8 100644 | |
--- a/src/cyndilib/receiver.pxd | |
+++ b/src/cyndilib/receiver.pxd | |
@@ -48,6 +48,7 @@ cdef class Receiver: | |
cdef readonly VideoRecvFrame video_frame | |
cdef readonly AudioRecvFrame audio_frame | |
cdef readonly MetadataRecvFrame metadata_frame | |
+ cdef readonly PTZ ptz | |
cdef readonly str source_name |
This file contains hidden or 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
from __future__ import annotations | |
from typing import NamedTuple, cast | |
from typing_extensions import Self | |
import enum | |
import io | |
import subprocess | |
import shlex | |
from fractions import Fraction | |
from contextlib import contextmanager |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
double NINF = Double.NEGATIVE_INFINITY; | |
class AudioMeter { | |
double[] rmsDbfs, rmsDbu, peakDbfs, peakDbu, peakAmp; | |
int sampleRate, nChannels, blockSize, stride; | |
float avgTime = .1; | |
int[] bufferLength; | |
//float[] ticks = {0, -6, -12, -18, -24, -36, -48, -60, -90, -140}; | |
float[] ticks = {0, -10, -20, -30, -40, -50, -60, -70}; | |
float maxTick = 0; |
This file contains hidden or 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
_build |
This file contains hidden or 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
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
ipython = "*" | |
numpy = "*" | |
pyrtlsdr = {ref = "rtlsdrlib-integration", git = "https://github.com/pyrtlsdr/pyrtlsdr.git"} | |
pyrtlsdrlib = {ref = "main", git = "https://github.com/pyrtlsdr/pyrtlsdrlib.git"} |
This file contains hidden or 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
#! /usr/bin/env python3 | |
import typing as tp | |
import enum | |
from dataclasses import dataclass | |
import json | |
from bs4 import BeautifulSoup | |
import requests | |
import click |
This file contains hidden or 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
#! /usr/bin/env python3 | |
"""Utilities for parsing and manipulating Primitive Root Diffuser results from | |
http://www.oliverprime.com/prd/ | |
""" | |
import argparse | |
from pathlib import Path | |
import dataclasses | |
from dataclasses import dataclass, field | |
from typing import Union, List, Tuple, Dict, Optional | |
import json |
This file contains hidden or 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
#! /usr/bin/env python3 | |
from loguru import logger | |
import os | |
from pathlib import Path | |
import shlex | |
import subprocess | |
import tempfile | |
import shutil | |
import argparse |
NewerOlder