Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
PcmBufferPoolWriterInterface.hpp
1/*
2 * Copyright (c) 2022-2023, Soliton Systems K.K. All rights reserved.
3 * Use in source and binary forms, with or without modification,
4 * is permitted provided that the following a condition is met:
5 *
6 * Use is permitted only in accordance with the terms and
7 * conditions set forth in the Software License Agreement available
8 * at https://zao-sdk.org/license-agreement/.
9 */
10#ifndef ZEP_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
11#define ZEP_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
12
13namespace zep {
14namespace audio {
15
16class PcmBufferWriter;
17
21class PcmBufferPoolWriterInterface {
22 public:
31 virtual PcmBufferWriter GetWriter(bool wait) noexcept = 0;
32
36 virtual void AbortGetWriter() noexcept = 0;
37
38 virtual ~PcmBufferPoolWriterInterface() noexcept = default;
39};
40
41} // namespace audio
42} // namespace zep
43
44#endif // ZEP_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
PCM buffer pool writer interface.
Definition PcmBufferPoolWriterInterface.hpp:21
virtual PcmBufferWriter GetWriter(bool wait) noexcept=0
書き込みバッファ(空きのあるバッファ)を1つ取り出す。
virtual void AbortGetWriter() noexcept=0
GetWriter(true)で待機中のスレッドに対し、待機を中断させる。
Writer implementation of PCM buffer.
Definition PcmBufferWriter.hpp:29
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19