Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
PcmBufferPoolReaderInterface.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_READER_INTERFACE_HPP_
11#define ZEP_AUDIO_PCM_BUFFER_POOL_READER_INTERFACE_HPP_
12
13namespace zep {
14namespace audio {
15
16class PcmBufferReader;.
17
22 public:.
31 virtual PcmBufferReader GetReader(bool wait) noexcept = 0;
32
36 virtual void AbortGetReader() noexcept = 0;
37
38 virtual ~PcmBufferPoolReaderInterface() noexcept = default;
39};
40
41} // namespace audio
42} // namespace zep
43
44#endif // ZEP_AUDIO_PCM_BUFFER_POOL_READER_INTERFACE_HPP_
PCM buffer pool reader interface.
Definition PcmBufferPoolReaderInterface.hpp:21
virtual void AbortGetReader() noexcept=0
GetReader(true) aborts the wait for a thread that is waiting on GetReader(true).
virtual PcmBufferReader GetReader(bool wait) noexcept=0
Extract one read buffer (buffer with valid data).
Reader implementation of PCM buffer.
Definition PcmBufferReader.hpp:29
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19