Skip to main content
Header: device/inc/Device.h

Structures

Device

Members
std::shared_ptr< Device >
std::mutex
std::string
struct pal_device
std::shared_ptr< ResourceManager >
int
int
struct audio_route *
struct mixer *
struct mixer *
char
void *
size_t
std::string
uint32_t
std::multimap< uint32_t, std::pair< Stream *, struct pal_device * > >
uint32_t
uint32_t
std::mutex
std::shared_ptr< PluginManager >

Functions

Device
protected
Device
protected
configureDeviceClockSrc
protected
init
deinit
getDefaultConfig
open
close
start
start_l
stop
stop_l
prepare
getSndDeviceId
getDeviceCount
getPALDeviceName
setDeviceAttributes
getDeviceAttributes
getCodecConfig
updateCustomPayload
freeCustomPayload
getCustomPayload
getCustomPayloadSize
setDeviceParameter
setParameter
getDeviceParameter
getParameter
isDeviceReady
isScoNbWbActive
checkAndUpdateSampleRate
checkAndUpdateBitWidth
selectBestConfig
getMaxChannel
getHighestSupportedSR
isBitWidthSupported
isSupportedSR
getHighestSupportedBps
isDeviceConnected
checkDeviceStatus
getDeviceConfig
bitsToAlsaFormat
getBeMixerControl
setCustomPayload
setMediaConfig
setSndName
clearSndName
~Device
getCurrentSndDevName
setSampleRate
setBitWidth
lockDeviceMutex
unlockDeviceMutex
compareStreamDevAttr
insertStreamDeviceAttr
removeStreamDeviceAttr
getTopPriorityDeviceAttr
isPluginDevice
isDpDevice
isPluginPlaybackDevice
getInstance
palToSndDriverFormat
initHdrRoutine

Macros

DEVICE_NAME_MAX_SIZE

DUMP_DEV_ATTR

DEFAULT_OUTPUT_CHANNEL