Loading include/media/audiohal/StreamHalInterface.h +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ class StreamOutHalInterface : public virtual StreamHalInterface { // Set the callback for notifying completion of non-blocking write and drain. // The callback must be owned by someone else. The output stream does not own it // to avoid strong pointer loops. virtual status_t setCallback(sp<StreamOutHalInterfaceCallback> callback) = 0; virtual status_t setCallback(wp<StreamOutHalInterfaceCallback> callback) = 0; // Returns whether pause and resume operations are supported. virtual status_t supportsPauseAndResume(bool *supportsPause, bool *supportsResume) = 0; Loading media/libaudiohal/StreamHalLocal.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ status_t StreamOutHalLocal::getNextWriteTimestamp(int64_t *timestamp) { return mStream->get_next_write_timestamp(mStream, timestamp); } status_t StreamOutHalLocal::setCallback(sp<StreamOutHalInterfaceCallback> callback) { status_t StreamOutHalLocal::setCallback(wp<StreamOutHalInterfaceCallback> callback) { if (mStream->set_callback == NULL) return INVALID_OPERATION; status_t result = mStream->set_callback(mStream, StreamOutHalLocal::asyncCallback, this); if (result == OK) { Loading media/libaudiohal/StreamHalLocal.h +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class StreamOutHalLocal : public StreamOutHalInterface, public StreamHalLocal { virtual status_t getNextWriteTimestamp(int64_t *timestamp); // Set the callback for notifying completion of non-blocking write and drain. virtual status_t setCallback(sp<StreamOutHalInterfaceCallback> callback); virtual status_t setCallback(wp<StreamOutHalInterfaceCallback> callback); // Returns whether pause and resume operations are supported. virtual status_t supportsPauseAndResume(bool *supportsPause, bool *supportsResume); Loading Loading
include/media/audiohal/StreamHalInterface.h +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ class StreamOutHalInterface : public virtual StreamHalInterface { // Set the callback for notifying completion of non-blocking write and drain. // The callback must be owned by someone else. The output stream does not own it // to avoid strong pointer loops. virtual status_t setCallback(sp<StreamOutHalInterfaceCallback> callback) = 0; virtual status_t setCallback(wp<StreamOutHalInterfaceCallback> callback) = 0; // Returns whether pause and resume operations are supported. virtual status_t supportsPauseAndResume(bool *supportsPause, bool *supportsResume) = 0; Loading
media/libaudiohal/StreamHalLocal.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ status_t StreamOutHalLocal::getNextWriteTimestamp(int64_t *timestamp) { return mStream->get_next_write_timestamp(mStream, timestamp); } status_t StreamOutHalLocal::setCallback(sp<StreamOutHalInterfaceCallback> callback) { status_t StreamOutHalLocal::setCallback(wp<StreamOutHalInterfaceCallback> callback) { if (mStream->set_callback == NULL) return INVALID_OPERATION; status_t result = mStream->set_callback(mStream, StreamOutHalLocal::asyncCallback, this); if (result == OK) { Loading
media/libaudiohal/StreamHalLocal.h +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class StreamOutHalLocal : public StreamOutHalInterface, public StreamHalLocal { virtual status_t getNextWriteTimestamp(int64_t *timestamp); // Set the callback for notifying completion of non-blocking write and drain. virtual status_t setCallback(sp<StreamOutHalInterfaceCallback> callback); virtual status_t setCallback(wp<StreamOutHalInterfaceCallback> callback); // Returns whether pause and resume operations are supported. virtual status_t supportsPauseAndResume(bool *supportsPause, bool *supportsResume); Loading