载入中...
搜索中...
未找到
PcmStream.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include <cstdint>
#include <memory>
#include <span>

浏览源代码.

类

struct  eve::audio::PcmStreamInfo
 Owning snapshot; frame counts include all channels as one sample frame. 更多...
 
class  eve::audio::PcmStream
 Bounded, caller-fed PCM playback, independent of codecs and synthesis. @ownership Caller owns this object; submitted samples are copied synchronously. @lifetime Audio teardown closes outstanding streams before destroying OpenAL. Destruction of this object releases playback even while Audio remains alive. @thread All operations and destruction run on Audio's owning/main thread. @reentrancy Never invokes scripts or user callbacks. Not concurrently callable. Streams are transient: hot reload must close/recreate them, not serialize them. 更多...
 

命名空间

namespace  ssq
 EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
 
namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::audio
 

枚举

enum class  eve::audio::PcmStreamPhase {
  eve::audio::Idle , eve::audio::Playing , eve::audio::Paused , eve::audio::Starved ,
  eve::audio::Draining , eve::audio::Finished , eve::audio::Closed
}
 Observable stream phase; starvation preserves the intent to play. 更多...
 

函数

void eve::audio::exposePcmStream (ssq::Table &table, ssq::Class &audioClass)
 Install VM-bound adapters; borrows both handles only during registration.