Skip to main content
Header: stream/inc/Stream.h

Structures

Stream

Members
bool
uint32_t
std::vector< std::shared_ptr< Device > >
std::vector< std::shared_ptr< Device > >
Session *
struct pal_stream_attributes *
bool
bool
int
int
std::mutex
std::mutex
struct modifier_kv *
uint32_t
std::string
std::string
size_t
size_t
size_t
size_t
size_t
size_t
stream_state_t
stream_state_t
uint32_t
bool
bool
bool
sem_t
std::mutex
std::shared_ptr< ResourceManager >
std::shared_ptr< PluginManager >
std::mutex
struct pal_volume_data *
call_translation_config *
pal_stream_callback
bool
bool
bool
bool
bool
bool
bool
std::vector< pal_device_id_t >
std::vector< pal_device_id_t >

Functions

connectToDefaultDevice
protected
Stream
~Stream
isInitialized
open
close
start
start_l
stop
prepare
drain
setVolume
mute
mute_l
getDeviceMute
setDeviceMute
pause
pause_l
resume
resume_l
flush
suspend
read
addRemoveEffect
setParameters
setParameters_l
write
registerCallBack
getCallBack
getParameters
setECRef
setECRef_l
ssrDownHandler
ssrUpHandler
isBitWidthSupported
isSampleRateSupported
isChannelSupported
isStreamSupported
createMmapBuffer
GetMmapPosition
GetNumEvents
GetOutputToken
GetPayloadSize
GetSdzNumEvents
GetSdzOutputToken
GetSdzPayloadSize
GetMMAModelType
setCustomParam
getCustomParam
ConfigSupportLPI
checkStreamMatch
IsStreamInBuffering
getVoteType
getStreamAttributes
getStreamSelector
getDevicePPSelector
getStreamType
getStreamDirection
getRenderLatency
getLatency
getAssociatedDevices
getAssociatedOutDevices
getAssociatedInDevices
getPalDevices
removePalDevice
clearOutPalDevices
addPalDevice
getSoundCardId
getAssociatedSession
setBufInfo
getBufInfo
getMaxMetadataSz
getBufSize
getVolumeData
setGainLevel
getGainLevel
setDutyCycleEnable
getDutyCycleEnable
setOrientation
getOrientation
isStreamAudioOutFmtSupported
getTimestamp
disconnectStreamDevice
disconnectStreamDevice_l
connectStreamDevice
connectStreamDevice_l
switchDevice
getEffectParameters
getInstanceId
setInstanceId
initStreamSmph
deinitStreamSmph
postStreamSmph
waitStreamSmph
checkStreamMatch
checkStreamMatch
isStreamSSRDownFeasibile
getCurState
isActive
isAlive
isA2dpMuted
Resume
Pause
HandleConcurrentStream
DisconnectDevice
ConnectDevice
getCallbackEventId
HandleCallback
lockStreamMutex
unlockStreamMutex
isMutexLockedbyRm
lockGetParamMutex
unlockGetParamMutex
setCachedState
clearmDevices
removemDevice
addmDevice
removeLastmDevice
GetCurrentCaptureProfile
create
destroy
handleStreamCreateFailure
mixerEventCallbackEntry

Enumerations

dataFlags

Values

stream_state_t

Values

Macros

BUF_SIZE_PLAYBACK

BUF_SIZE_CAPTURE

AUDIO_CAPTURE_PERIOD_DURATION_MSEC

DEEP_BUFFER_OUTPUT_PERIOD_DURATION

PCM_OFFLOAD_OUTPUT_PERIOD_DURATION

COMPRESS_OFFLOAD_FRAGMENT_SIZE

NO_OF_BUF

SSR_RECOVERY

VOLUME_RAMP_PERIOD

MUTE_RAMP_PERIOD

DEFAULT_RAMP_PERIOD