summaryrefslogtreecommitdiffstats
path: root/include/media/IMediaRecorder.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-06-25 17:06:47 -0700
committerJames Dong <jdong@google.com>2010-06-28 15:32:26 -0700
commit37047fceba836f341d0108beed0991b0f8dfc543 (patch)
tree6b60725c1d6af1ca91a46961bbecff9b996d07c2 /include/media/IMediaRecorder.h
parent93d6b102a13afa23bfa80d74c399d93d542e6ad6 (diff)
downloadframeworks_av-37047fceba836f341d0108beed0991b0f8dfc543.zip
frameworks_av-37047fceba836f341d0108beed0991b0f8dfc543.tar.gz
frameworks_av-37047fceba836f341d0108beed0991b0f8dfc543.tar.bz2
Separate MediaRecorderClient with MediaPlayerClient
- An alternative would be to define a common base class that both MediaRecorderClient and MediaPlayerClient can derive. But since the common code, onTransact() and notify() uses some Binder code, having a common base class may not gain us too much in terms of code reuse. Change-Id: Ibc06720278ad173fceacff3d267b7060856c6316
Diffstat (limited to 'include/media/IMediaRecorder.h')
-rw-r--r--include/media/IMediaRecorder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/IMediaRecorder.h b/include/media/IMediaRecorder.h
index 24ac82b..cfc17a5 100644
--- a/include/media/IMediaRecorder.h
+++ b/include/media/IMediaRecorder.h
@@ -24,7 +24,7 @@ namespace android {
class ISurface;
class ICamera;
-class IMediaPlayerClient;
+class IMediaRecorderClient;
class IMediaRecorder: public IInterface
{
@@ -43,7 +43,7 @@ public:
virtual status_t setVideoSize(int width, int height) = 0;
virtual status_t setVideoFrameRate(int frames_per_second) = 0;
virtual status_t setParameters(const String8& params) = 0;
- virtual status_t setListener(const sp<IMediaPlayerClient>& listener) = 0;
+ virtual status_t setListener(const sp<IMediaRecorderClient>& listener) = 0;
virtual status_t prepare() = 0;
virtual status_t getMaxAmplitude(int* max) = 0;
virtual status_t start() = 0;