Files
sousa-gecko/widget/windows/AudioSession.h
T
2026-03-16 17:22:02 +00:00

25 lines
686 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef WIDGET_WINDOWS_AUDIOSESSION_H_
#define WIDGET_WINDOWS_AUDIOSESSION_H_
#include "nsString.h"
namespace mozilla {
namespace widget {
// Create the audio session. Must only be called in the main (parent) process.
void CreateAudioSession();
// Destroy the audio session. Must only be called in the main (parent)
// process and during app shutdown.
void DestroyAudioSession();
} // namespace widget
} // namespace mozilla
#endif // WIDGET_WINDOWS_AUDIOSESSION_H_