Home
last modified time | relevance | path

Searched refs:StreamWorkerInterface (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/audio/aidl/default/include/core-impl/
DStream.h234 struct StreamWorkerInterface { struct
236 std::function<StreamWorkerInterface*(StreamContext* context, DriverInterface* driver)>; argument
237 virtual ~StreamWorkerInterface() = default;
247 class StreamWorkerImpl : public StreamWorkerInterface,
405 const StreamWorkerInterface::CreateInstance& createWorker) in StreamCommonImpl()
441 static StreamWorkerInterface::CreateInstance getDefaultInWorkerCreator() { in getDefaultInWorkerCreator()
442 return [](StreamContext* ctx, DriverInterface* driver) -> StreamWorkerInterface* { in getDefaultInWorkerCreator()
446 static StreamWorkerInterface::CreateInstance getDefaultOutWorkerCreator() { in getDefaultOutWorkerCreator()
447 return [](StreamContext* ctx, DriverInterface* driver) -> StreamWorkerInterface* { in getDefaultOutWorkerCreator()
457 std::unique_ptr<StreamWorkerInterface> mWorker;