Minimal playback backend boundary used by the deterministic transport controller. 更多...
#include <AudioTransport.h>
Public 成员函数 | |
| virtual | ~IAudioTransportBackend ()=default |
| Releases IAudioTransportBackend resources. | |
| virtual void | play ()=0 |
| Play. | |
| virtual void | pause ()=0 |
| Pause. | |
| virtual void | stop ()=0 |
| Stops . | |
| virtual Result< void > | seek (double seconds)=0 |
| Seek the backend playhead. | |
| virtual double | tell () const =0 |
| Tell. | |
| virtual double | duration () const =0 |
| Duration. | |
| virtual bool | playing () const =0 |
| Playing. | |
| virtual void | setNativeLooping (bool enabled)=0 |
| Sets the native looping. | |
详细描述
Minimal playback backend boundary used by the deterministic transport controller.
在文件 AudioTransport.h 第 29 行定义.
构造及析构函数说明
◆ ~IAudioTransportBackend()
|
virtualdefault |
Releases IAudioTransportBackend resources.
成员函数说明
◆ duration()
|
pure virtual |
在 eve::audio_editing::AudioSourceTransportBackend , 以及 eve::audio_editor::AudioClockTransportBackend 内被实现.
被这些函数引用 eve::audio_editing::AudioAuditionTransport::bind(), eve::audio_editing::AudioAuditionTransport::seek(), eve::audio_editing::AudioAuditionTransport::setLoop() , 以及 eve::audio_editing::AudioAuditionTransport::update().
◆ pause()
|
pure virtual |
◆ play()
|
pure virtual |
◆ playing()
|
pure virtual |
◆ seek()
|
pure virtual |
Seek the backend playhead.
- 返回
- Structured failure when the backend rejects the position.
在 eve::audio_editing::AudioSourceTransportBackend , 以及 eve::audio_editor::AudioClockTransportBackend 内被实现.
被这些函数引用 eve::audio_editing::AudioAuditionTransport::play(), eve::audio_editing::AudioAuditionTransport::seek() , 以及 eve::audio_editing::AudioAuditionTransport::update().
◆ setNativeLooping()
|
pure virtual |
Sets the native looping.
在 eve::audio_editing::AudioSourceTransportBackend , 以及 eve::audio_editor::AudioClockTransportBackend 内被实现.
被这些函数引用 eve::audio_editing::AudioAuditionTransport::bind() , 以及 eve::audio_editing::AudioAuditionTransport::setLoop().
◆ stop()
|
pure virtual |
◆ tell()
|
pure virtual |
该类的文档由以下文件生成:
- src/modules/audio/editing/AudioTransport.h