summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-12-21 08:09:10 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-21 08:09:11 -0800
commit49d24d3fcd01aef0ec1fa4abd9c1b85473f64c0f (patch)
treeb2803e0ba9269ce4513f41d1a37984450f6fbfd7 /include
parentdf84d70d1da102995a5f1591c4af7c1807e4acd8 (diff)
parent8d6cc842e8d525405c68e57fdf3bc5da0b4d7e87 (diff)
downloadframeworks_av-49d24d3fcd01aef0ec1fa4abd9c1b85473f64c0f.zip
frameworks_av-49d24d3fcd01aef0ec1fa4abd9c1b85473f64c0f.tar.gz
frameworks_av-49d24d3fcd01aef0ec1fa4abd9c1b85473f64c0f.tar.bz2
Merge "Remove unnecessary parameter"
Diffstat (limited to 'include')
-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;