音频 Helper

[English]

  • 公共头文件: #include "brookesia/service_helper/media/audio.hpp"

概述

本页用于查看 Audio helper 的原始 Doxygen API,包括共享类型、播放、编码器、解码器 helper 与相关宏定义。

API 参考

Header File

Classes

class Audio

Shared schema/type definitions for audio playback, encoder, and decoder helper services.

Public Static Attributes

static constexpr std::string_view PLAYBACK_NAME = "AudioPlayback"

Service name used by the playback helper.

static constexpr std::string_view ENCODER_NAME_PREFIX = "AudioEncoder"

Prefix used to build encoder helper service names.

static constexpr std::string_view DECODER_NAME_PREFIX = "AudioDecoder"

Prefix used to build decoder helper service names.

struct OutputInfo
struct SourceInfo
struct StreamConfig
class AudioPlayback : public esp_brookesia::service::helper::Base<AudioPlayback>
template<int Id>
class AudioEncoder : public esp_brookesia::service::helper::Base<AudioEncoder<Id>>
template<int Id>
class AudioDecoder : public esp_brookesia::service::helper::Base<AudioDecoder<Id>>