blob: 8252bd9fe10211257ae9bde128fb5cb35638b29c [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library benchmarkfidl;
// Based on fuchsia.media.StreamSource.StreamPacket, used in
// AudioCapturerOnPacketProducedEvent:
type StreamPacket = struct {
pts int64 = 0x7fffffffffffffff;
payload_buffer_id uint32;
payload_offset uint64;
payload_size uint64;
flags uint32 = 0;
buffer_config uint64 = 0;
stream_segment_id uint64 = 0;
};
protocol StreamPacketEventProtocol {
-> Send(struct {
val StreamPacket;
});
};
protocol StreamPacketEchoCall {
Echo(struct {
val StreamPacket;
}) -> (struct {
val StreamPacket;
});
};