mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
29 lines
669 B
Plaintext
29 lines
669 B
Plaintext
// Copyright 2018 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
module chromecast.mojom;
|
|
|
|
import "mojo/public/mojom/base/time.mojom";
|
|
|
|
enum AudioChannel {
|
|
kAll,
|
|
kLeft,
|
|
kRight,
|
|
};
|
|
|
|
struct MultiroomInfo {
|
|
// True if casting to multiple devices, or false otherwise.
|
|
bool multiroom = false;
|
|
|
|
// Audio channel this device is playing.
|
|
AudioChannel audio_channel;
|
|
|
|
// Intrinsic output delay of this device.
|
|
mojo_base.mojom.TimeDelta output_delay;
|
|
};
|
|
|
|
interface MultiroomManager {
|
|
GetMultiroomInfo(string session_id) => (MultiroomInfo multiroom_info);
|
|
};
|