session/inc/Session.h
Session
Header:
Members Members
protected
Members
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 QLI Version 2.1.1 is now live ! Switch to new version to check out the latest content
session/inc/Session.h
SessionSession::eventPayloadSession Session()
~Session ~Session()
openint open(Stream *s)=0
prepareint prepare(Stream *s)=0
startint start(Stream *s)=0
stopint stop(Stream *s)=0
closeint close(Stream *s)=0
pauseint pause(Stream *s)=0
suspendint suspend(Stream *s)=0
resumeint resume(Stream *s)=0
muteint mute(Stream *s, bool state)=0
setVolumeint setVolume(Stream *s)=0
drainint drain(pal_drain_type_t type __unused)=0
flushint flush()=0
readint read(Stream *s __unused, struct pal_buffer *buf __unused, int *size __unused)=0
writeint write(Stream *s __unused, struct pal_buffer *buf __unused, int *size __unused)=0
getParametersint32_t getParameters(Stream *s, uint32_t param_id, void **payload)=0
setParametersint setParameters(Stream *s, uint32_t param_id, void *payload)=0
setCustomParamint32_t setCustomParam(custom_payload_uc_info_t *uc_info, std::string param_str, void *param_payload, size_t payload_size, Stream *s)=0
getCustomParamint32_t getCustomParam(custom_payload_uc_info_t *uc_info, std::string param_str, void *param_payload, size_t *payload_size, Stream *s)=0
getTimestampint getTimestamp(struct pal_session_time *stime __unused)=0
setupSessionDeviceint setupSessionDevice(Stream *streamHandle, pal_stream_type_t streamType, std::shared_ptr< Device > deviceToCconnect)=0
connectSessionDeviceint connectSessionDevice(Stream *streamHandle, pal_stream_type_t streamType, std::shared_ptr< Device > deviceToCconnect)=0
disconnectSessionDeviceint disconnectSessionDevice(Stream *streamHandle, pal_stream_type_t streamType, std::shared_ptr< Device > deviceToDisconnect)=0
registerCallBackint registerCallBack(session_callback cb __unused, uint64_t cookie __unused)
setECRefint setECRef(Stream *s, std::shared_ptr< Device > rx_dev, bool is_enable)
getFrontEndIdsint32_t getFrontEndIds(std::vector< int > &devices, uint32_t ldir) const
createMmapBufferint createMmapBuffer(Stream *s __unused, int32_t min_size_frames __unused, struct pal_mmap_buffer *info __unused)
GetMmapPositionint GetMmapPosition(Stream *s __unused, struct pal_mmap_position *position __unused)
ResetMmapBufferint ResetMmapBuffer(Stream *s __unused)
openGraphint openGraph(Stream *s __unused)
sendMsgint sendMsg(pal_cshm_id_t memID, uint32_t offset, uint32_t length, uint32_t destID, uint32_t flags, Stream *s)
addRemoveEffectint addRemoveEffect(Stream *s, pal_audio_effect_t effect, bool enable)
makeSessionSession * makeSession(const std::shared_ptr< ResourceManager > &rm, const struct pal_stream_attributes *sAttr)
eventPayloadusing eventPayload = struct Session::eventPayload
Session::eventPayloadsession_callbacktypedef void(* session_callback
SessionCreatetypedef Session *(* SessionCreate
configType| Name | Value | Description |
|---|---|---|
GRAPH | = 0 | |
MODULE | ||
CALIBRATION | ||
CODEC_DMA_CONFIG | ||
MEDIA_CONFIG | ||
IN_MEDIA_CONFIG | ||
OUT_MEDIA_CONFIG |
sessionState| Name | Value | Description |
|---|---|---|
SESSION_IDLE | ||
SESSION_OPENED | ||
SESSION_STARTED | ||
SESSION_FLUSHED | ||
SESSION_STOPPED |
Was this page helpful?
