Searched refs:AudioHotplugThread (Results 1 – 7 of 7) sorted by relevance
33 class AudioHardwareInput : public AudioHotplugThread::Callback {52 virtual void onDeviceFound(const AudioHotplugThread::DeviceInfo& devInfo);64 const AudioHotplugThread::DeviceInfo* getBestDevice(int inputSource);71 void standbyAllInputStreams(const AudioHotplugThread::DeviceInfo* deviceInfo);76 sp<AudioHotplugThread> mHotplugThread;78 AudioHotplugThread::DeviceInfo mDeviceInfos[kMaxDevices];
119 const char* AudioHotplugThread::kThreadName = "ATVRemoteAudioHotplug";122 const char* AudioHotplugThread::kAlsaDeviceDir = "/dev/snd";125 const char AudioHotplugThread::kDeviceTypeCapture = 'c';127 AudioHotplugThread::AudioHotplugThread(Callback& callback) in AudioHotplugThread() function in android::AudioHotplugThread133 AudioHotplugThread::~AudioHotplugThread() in ~AudioHotplugThread()140 bool AudioHotplugThread::start() in start()150 void AudioHotplugThread::shutdown() in shutdown()158 bool AudioHotplugThread::parseCaptureDeviceName(const char* name, in parseCaptureDeviceName()195 bool AudioHotplugThread::getDeviceInfo(unsigned int pcmCard, in getDeviceInfo()253 void AudioHotplugThread::scanForDevice() in scanForDevice()[all …]
25 class AudioHotplugThread : public Thread {44 AudioHotplugThread(Callback& callback);45 virtual ~AudioHotplugThread();
41 mHotplugThread = new AudioHotplugThread(*this); in AudioHardwareInput()153 void AudioHardwareInput::standbyAllInputStreams(const AudioHotplugThread::DeviceInfo* deviceInfo) in standbyAllInputStreams()201 const AudioHotplugThread::DeviceInfo& devInfo) in onDeviceFound()257 const AudioHotplugThread::DeviceInfo* AudioHardwareInput::getBestDevice(int inputSource) in getBestDevice()
59 const AudioHotplugThread::DeviceInfo* getDeviceInfo() { return mCurrentDeviceInfo; }; in getDeviceInfo()96 const AudioHotplugThread::DeviceInfo* mCurrentDeviceInfo;
30 AudioHotplugThread.cpp
316 const AudioHotplugThread::DeviceInfo *deviceInfo = mOwnerHAL.getBestDevice(mInputSource); in startInputStream_l()