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];
111 const char* AudioHotplugThread::kThreadName = "ATVRemoteAudioHotplug";114 const char* AudioHotplugThread::kAlsaDeviceDir = "/dev/snd";117 const char AudioHotplugThread::kDeviceTypeCapture = 'c';119 AudioHotplugThread::AudioHotplugThread(Callback& callback) in AudioHotplugThread() function in android::AudioHotplugThread125 AudioHotplugThread::~AudioHotplugThread() in ~AudioHotplugThread()132 bool AudioHotplugThread::start() in start()142 void AudioHotplugThread::shutdown() in shutdown()150 bool AudioHotplugThread::parseCaptureDeviceName(const char* name, in parseCaptureDeviceName()187 bool AudioHotplugThread::getDeviceInfo(unsigned int pcmCard, in getDeviceInfo()245 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 \
344 const AudioHotplugThread::DeviceInfo *deviceInfo = mOwnerHAL.getBestDevice(mInputSource); in startInputStream_l()