gecko-dev/dom/ipc/PAudio.ipdl

41 строка
775 B
Plaintext

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 ts=8 et tw=80 : */
/* 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/. */
include protocol PContent;
namespace mozilla {
namespace dom {
protocol PAudio
{
manager PContent;
parent:
Write(nsCString data, uint32_t frames);
SetVolume(float aVolume);
MinWriteSize();
Drain();
Pause();
Resume();
Shutdown();
child:
__delete__();
PositionInFramesUpdate(int64_t position, int64_t time);
MinWriteSizeDone(int32_t frameCount);
DrainDone();
WriteDone();
};
} // namespace dom
} // namespace mozilla