From b7f24b101d43139b4c747129bfbc4ecf5c468b86 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Wed, 11 Jun 2014 10:05:30 -0700 Subject: AudioSystem: remove unused stream type The audio stream type is not used in the getSampleRate() and getFrameCount() methods. Change-Id: I3d065ae272bd039204cd323cdab9b60460034f2d --- include/media/AudioSystem.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index 6fe0c7f..a4722cb 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -104,12 +104,10 @@ public: static status_t getOutputLatency(uint32_t* latency, audio_stream_type_t stream); static status_t getSamplingRate(audio_io_handle_t output, - audio_stream_type_t streamType, uint32_t* samplingRate); // returns the number of frames per audio HAL write buffer. Corresponds to // audio_stream->get_buffer_size()/audio_stream_frame_size() static status_t getFrameCount(audio_io_handle_t output, - audio_stream_type_t stream, size_t* frameCount); // returns the audio output stream latency in ms. Corresponds to // audio_stream_out->get_latency() -- cgit v1.1