2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

openal audio and voice messages prepared for os x

This commit is contained in:
John Preston
2014-09-04 16:23:28 +04:00
parent 9bbc99a6b4
commit 57cbc06fd8
10 changed files with 109 additions and 20 deletions

View File

@@ -341,7 +341,7 @@ void AudioOpenLink::onClick(Qt::MouseButton button) const {
QString already = data->already(true);
bool play = audioVoice();
if (!already.isEmpty() || !data->data.isEmpty() && play) {
if (!already.isEmpty() || (!data->data.isEmpty() && play)) {
if (play) {
AudioData *playing = 0;
VoiceMessageState playingState = VoiceMessageStopped;