summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-03 11:06:53 -0800
committerGlenn Kasten <gkasten@google.com>2012-12-18 16:16:30 -0800
commitf37971f624164c3ed185d3f976404a6f60f49b9a (patch)
treee3455056e9e0512786cfdd832e1fd8bba765bc7c /include/media
parent34d7db5dd43000cac7e8e156d79e9f97ccbb8990 (diff)
downloadframeworks_av-f37971f624164c3ed185d3f976404a6f60f49b9a.zip
frameworks_av-f37971f624164c3ed185d3f976404a6f60f49b9a.tar.gz
frameworks_av-f37971f624164c3ed185d3f976404a6f60f49b9a.tar.bz2
Remove unnecessary parameter
Just get the parameter on server side Change-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15
Diffstat (limited to 'include/media')
-rw-r--r--include/media/IAudioFlinger.h4
-rw-r--r--include/media/IMediaPlayerService.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/include/media/IAudioFlinger.h b/include/media/IAudioFlinger.h
index 9727143..9c3067e 100644
--- a/include/media/IAudioFlinger.h
+++ b/include/media/IAudioFlinger.h
@@ -56,7 +56,6 @@ public:
* return null if the track cannot be created.
*/
virtual sp<IAudioTrack> createTrack(
- pid_t pid,
audio_stream_type_t streamType,
uint32_t sampleRate,
audio_format_t format,
@@ -70,7 +69,6 @@ public:
status_t *status) = 0;
virtual sp<IAudioRecord> openRecord(
- pid_t pid,
audio_io_handle_t input,
uint32_t sampleRate,
audio_format_t format,
@@ -174,7 +172,7 @@ public:
virtual status_t getEffectDescriptor(const effect_uuid_t *pEffectUUID,
effect_descriptor_t *pDescriptor) const = 0;
- virtual sp<IEffect> createEffect(pid_t pid,
+ virtual sp<IEffect> createEffect(
effect_descriptor_t *pDesc,
const sp<IEffectClient>& client,
int32_t priority,
diff --git a/include/media/IMediaPlayerService.h b/include/media/IMediaPlayerService.h
index 7a89135..44db5bc 100644
--- a/include/media/IMediaPlayerService.h
+++ b/include/media/IMediaPlayerService.h
@@ -44,9 +44,9 @@ class IMediaPlayerService: public IInterface
public:
DECLARE_META_INTERFACE(MediaPlayerService);
- virtual sp<IMediaRecorder> createMediaRecorder(pid_t pid) = 0;
- virtual sp<IMediaMetadataRetriever> createMetadataRetriever(pid_t pid) = 0;
- virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client, int audioSessionId = 0) = 0;
+ virtual sp<IMediaRecorder> createMediaRecorder() = 0;
+ virtual sp<IMediaMetadataRetriever> createMetadataRetriever() = 0;
+ virtual sp<IMediaPlayer> create(const sp<IMediaPlayerClient>& client, int audioSessionId = 0) = 0;
virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) = 0;
virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) = 0;