mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Audio capture moved to a separate module.
This commit is contained in:
@@ -195,9 +195,7 @@ namespace {
|
||||
Global::SetLocalPasscode(false);
|
||||
Global::RefLocalPasscodeChanged().notify();
|
||||
}
|
||||
if (audioPlayer()) {
|
||||
audioPlayer()->stopAndClear();
|
||||
}
|
||||
Media::Player::mixer()->stopAndClear();
|
||||
if (auto w = wnd()) {
|
||||
w->tempDirDelete(Local::ClearManagerAll);
|
||||
w->notifyClearFast();
|
||||
@@ -2436,7 +2434,7 @@ namespace {
|
||||
|
||||
void playSound() {
|
||||
if (Global::SoundNotify() && !Platform::Notifications::skipAudio()) {
|
||||
audioPlayNotify();
|
||||
Media::Player::PlayNotify();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user