mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
Support audio documents playback inside app.
Also add some more decoders in ffmpeg configuration (wav). Also stop audio device restart on PKEY_AudioEndpoint changes. Also deduce channel layout from channel count in ffmpeg loaders.
This commit is contained in:
@@ -1149,7 +1149,7 @@ void DocumentOpenClickHandler::doOpen(DocumentData *data, HistoryItem *context,
|
||||
|
||||
auto msgId = context ? context->fullId() : FullMsgId();
|
||||
bool playVoice = data->voice();
|
||||
bool playMusic = data->song();
|
||||
bool playMusic = data->tryPlaySong();
|
||||
bool playVideo = data->isVideo();
|
||||
bool playAnimation = data->isAnimation();
|
||||
auto &location = data->location(true);
|
||||
|
Reference in New Issue
Block a user