
Most browsers have some indicator when audio is playing in a tab, which makes it easier to find that tab and mute unwanted audio. This adds an IPC to allow the Ladybird chromes to do something similar.
16 lines
208 B
C++
16 lines
208 B
C++
/*
|
|
* Copyright (c) 2024, Tim Flynn <trflynn89@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Web::HTML {
|
|
|
|
enum class AudioPlayState {
|
|
Paused,
|
|
Playing,
|
|
};
|
|
|
|
}
|