mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-19 05:31:22 +00:00
up to 1mb voice messages autoload, fixed voice messages in app playing, version 0.5.19
This commit is contained in:
parent
25c19812e1
commit
1acbed1f7f
@ -1,5 +1,5 @@
|
||||
AppVersionStr=0.5.18
|
||||
AppVersion=5018
|
||||
AppVersionStr=0.5.19
|
||||
AppVersion=5019
|
||||
|
||||
if [ -d "./../Linux/Release/deploy/$AppVersionStr" ]; then
|
||||
echo "Deploy folder for version $AppVersionStr already exists!"
|
||||
|
@ -1,5 +1,5 @@
|
||||
AppVersionStr=0.5.18
|
||||
AppVersion=5018
|
||||
AppVersionStr=0.5.19
|
||||
AppVersion=5019
|
||||
|
||||
if [ -d "./../Linux/Release/deploy/$AppVersionStr" ]; then
|
||||
echo "Deploy folder for version $AppVersionStr already exists!"
|
||||
|
@ -1,5 +1,5 @@
|
||||
AppVersionStr=0.5.18
|
||||
AppVersion=5018
|
||||
AppVersionStr=0.5.19
|
||||
AppVersion=5019
|
||||
|
||||
if [ -d "./../Mac/Release/deploy/$AppVersionStr" ]; then
|
||||
echo "Deploy folder for version $AppVersionStr already exists!"
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
#define MyAppShortName "Telegram"
|
||||
#define MyAppName "Telegram Win (Unofficial)"
|
||||
#define MyAppVersion "0.5.18"
|
||||
#define MyAppVersionZero "0.5.18"
|
||||
#define MyAppFullVersion "0.5.18.0"
|
||||
#define MyAppVersion "0.5.19"
|
||||
#define MyAppVersionZero "0.5.19"
|
||||
#define MyAppFullVersion "0.5.19.0"
|
||||
#define MyAppPublisher "Telegram (Unofficial)"
|
||||
#define MyAppURL "https://tdesktop.com"
|
||||
#define MyAppExeName "Telegram.exe"
|
||||
|
@ -663,7 +663,7 @@ void VoiceMessagesLoader::onLoad(AudioData *audio) {
|
||||
alSourceQueueBuffers(m.source, 1, m.buffers + m.nextBuffer);
|
||||
m.skipEnd -= samplesAdded;
|
||||
|
||||
m.nextBuffer = (m.nextBuffer + 1) & 3;
|
||||
m.nextBuffer = (m.nextBuffer + 1) % 3;
|
||||
|
||||
if (!_checkALError()) {
|
||||
m.state = VoiceMessageStopped;
|
||||
|
@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://tdesktop.com
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
static const int32 AppVersion = 5018;
|
||||
static const wchar_t *AppVersionStr = L"0.5.18";
|
||||
static const int32 AppVersion = 5019;
|
||||
static const wchar_t *AppVersionStr = L"0.5.19";
|
||||
#ifdef Q_OS_WIN
|
||||
static const wchar_t *AppName = L"Telegram Win (Unofficial)";
|
||||
#else
|
||||
@ -79,7 +79,7 @@ enum {
|
||||
AudioVoiceMsgFrequency = 48000, // 48 kHz
|
||||
AudioVoiceMsgChannels = 2, // stereo
|
||||
AudioVoiceMsgBufferSize = 1024 * 1024, // 1 Mb buffers
|
||||
AudioVoiceMsgInMemory = 256 * 1024, // 256 kb audio is hold in memory and auto loaded
|
||||
AudioVoiceMsgInMemory = 1024 * 1024, // 1 Mb audio is hold in memory and auto loaded
|
||||
};
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
|
@ -11,7 +11,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.5.18</string>
|
||||
<string>0.5.19</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>NOTE</key>
|
||||
|
Binary file not shown.
@ -1488,7 +1488,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 0.5.18;
|
||||
CURRENT_PROJECT_VERSION = 0.5.19;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
@ -1506,7 +1506,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
COPY_PHASE_STRIP = YES;
|
||||
CURRENT_PROJECT_VERSION = 0.5.18;
|
||||
CURRENT_PROJECT_VERSION = 0.5.19;
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = fast;
|
||||
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
|
||||
@ -1531,10 +1531,10 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 0.5.18;
|
||||
CURRENT_PROJECT_VERSION = 0.5.19;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DYLIB_COMPATIBILITY_VERSION = 0.5;
|
||||
DYLIB_CURRENT_VERSION = 0.5.18;
|
||||
DYLIB_CURRENT_VERSION = 0.5.19;
|
||||
FRAMEWORK_SEARCH_PATHS = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
||||
GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO;
|
||||
@ -1668,10 +1668,10 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 0.5.18;
|
||||
CURRENT_PROJECT_VERSION = 0.5.19;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DYLIB_COMPATIBILITY_VERSION = 0.5;
|
||||
DYLIB_CURRENT_VERSION = 0.5.18;
|
||||
DYLIB_CURRENT_VERSION = 0.5.19;
|
||||
FRAMEWORK_SEARCH_PATHS = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
||||
GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO;
|
||||
|
Loading…
Reference in New Issue
Block a user