audio/mumble: Update 1.5.634 → 1.5.735

Changelog:
https://www.mumble.info/blog/mumble-1.5.735/
This commit is contained in:
Vladimir Druzenko 2025-01-04 22:56:26 +03:00
parent 32448605a6
commit e5b74cfd75
5 changed files with 4 additions and 43 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= mumble
DISTVERSION= 1.5.634
PORTREVISION= 8
DISTVERSION= 1.5.735
CATEGORIES= audio
MASTER_SITES= https://github.com/${PORTNAME}-voip/${PORTNAME}/releases/download/v${DISTVERSION}/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1716672642
SHA256 (mumble-1.5.634.tar.gz) = 904f3633d28ab0e6925caeff2c65802f586abefdf6d20162f20a71805c2c5929
SIZE (mumble-1.5.634.tar.gz) = 26001230
TIMESTAMP = 1736001274
SHA256 (mumble-1.5.735.tar.gz) = db8990079f556a877218d471bcf2c24eb5e4520b652f3c20793d0aadedaae6ae
SIZE (mumble-1.5.735.tar.gz) = 26010842

View file

@ -1,11 +0,0 @@
--- src/MumbleProtocol.cpp.orig 2024-03-03 17:26:27 UTC
+++ src/MumbleProtocol.cpp
@@ -781,7 +781,7 @@ namespace Protocol {
}
- m_audioData.payload = gsl::span< byte >(payloadBegin, payloadSize);
+ m_audioData.payload = gsl::span< byte >(payloadBegin, static_cast< size_t >(payloadSize));
if (stream.left() == 3 * sizeof(float)) {
// If there are further bytes after the audio payload, this means that there is positional data attached to

View file

@ -1,11 +0,0 @@
--- src/mumble/Audio.cpp.orig 2024-03-03 17:26:27 UTC
+++ src/mumble/Audio.cpp
@@ -43,7 +43,7 @@ void LoopUser::addFrame(const Mumble::Protocol::AudioD
QMutexLocker l(&qmLock);
bool restart = (qetLastFetch.elapsed() > 100);
- long time = qetTicker.elapsed();
+ long long time = qetTicker.elapsed();
float r;
if (restart)

View file

@ -1,16 +0,0 @@
--- src/mumble/AudioOutput.cpp.orig 2024-03-03 17:26:27 UTC
+++ src/mumble/AudioOutput.cpp
@@ -617,11 +617,11 @@ bool AudioOutput::mix(void *outbuff, unsigned int fram
// Mix down stereo to mono. TODO: stereo record support
// frame: for a stereo stream, the [LR] pair inside ...[LR]LRLRLR.... is a frame
for (unsigned int i = 0; i < frameCount; ++i) {
- recbuff[i] += (pfBuffer[2 * i] / 2.0f + pfBuffer[2 * i + 1] / 2.0f) * volumeAdjustment;
+ recbuff[static_cast< int >(i)] += (pfBuffer[2 * i] / 2.0f + pfBuffer[2 * i + 1] / 2.0f) * volumeAdjustment;
}
} else {
for (unsigned int i = 0; i < frameCount; ++i) {
- recbuff[i] += pfBuffer[i] * volumeAdjustment;
+ recbuff[static_cast< int >(i)] += pfBuffer[i] * volumeAdjustment;
}
}