mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
openal audio and voice messages prepared for os x
This commit is contained in:
@@ -850,7 +850,7 @@ void MainWidget::audioLoadProgress(mtpFileLoader *loader) {
|
||||
audio->finish();
|
||||
QString already = audio->already();
|
||||
bool play = audio->openOnSave > 0 && audioVoice();
|
||||
if (!already.isEmpty() && audio->openOnSave || !audio->data.isEmpty() && play) {
|
||||
if ((!already.isEmpty() && audio->openOnSave) || (!audio->data.isEmpty() && play)) {
|
||||
if (play) {
|
||||
AudioData *playing = 0;
|
||||
VoiceMessageState state = VoiceMessageStopped;
|
||||
|
Reference in New Issue
Block a user