Home | History | Annotate | Download | only in audio

Lines Matching defs:RemoteAudio

26 #include "audio/RemoteAudio.h"
29 RemoteAudio::RemoteAudio(ClientSocket& socket)
51 RemoteAudio::~RemoteAudio()
59 bool RemoteAudio::init(int port)
63 LOGE("RemoteAudio cannot run");
74 bool RemoteAudio::threadLoop()
97 void RemoteAudio::wakeClient(bool result)
103 bool RemoteAudio::handlePacket()
138 int RemoteAudio::socketRxCallback(int fd, int events, void* data)
140 RemoteAudio* self = reinterpret_cast<RemoteAudio*>(data);
151 void RemoteAudio::sendCommand(android::sp<android::MessageHandler>& command)
156 bool RemoteAudio::waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec)
162 bool RemoteAudio::waitForPlaybackOrRecordingCompletion(
178 void RemoteAudio::doStop(android::sp<android::MessageHandler>& commandHandler,
196 bool RemoteAudio::downloadData(const android::String8 name, android::sp<Buffer>& buffer, int& id)
220 int RemoteAudio::getDataId(const android::String8& name)
231 bool RemoteAudio::startPlayback(bool stereo, int samplingF, int mode, int volume,
247 LOGD("RemoteAudio::startPlayback stereo %d mode %d", stereo, mode);
266 void RemoteAudio::stopPlayback()
271 bool RemoteAudio::waitForPlaybackCompletion()
276 bool RemoteAudio::startRecording(bool stereo, int samplingF, int mode, int volume,
301 bool RemoteAudio::waitForRecordingCompletion()
306 void RemoteAudio::stopRecording()
311 bool RemoteAudio::getDeviceInfo(android::String8& data)
328 /** should be called before RemoteAudio is destroyed */
329 void RemoteAudio::release()
337 void RemoteAudio::CommandHandler::handleMessage(const android::Message& message)