summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-27 16:05:09 -0800
committerGlenn Kasten <gkasten@google.com>2012-11-05 13:49:59 -0800
commit847d05dc8fa144dcf8f4f435d6a6ac1727f00937 (patch)
treec079d882c6070ba620cad05b2b5254b4ba2ecf50 /media
parentf27bdebd0c611f9618577f65346f44574146dc00 (diff)
downloadframeworks_av-847d05dc8fa144dcf8f4f435d6a6ac1727f00937.zip
frameworks_av-847d05dc8fa144dcf8f4f435d6a6ac1727f00937.tar.gz
frameworks_av-847d05dc8fa144dcf8f4f435d6a6ac1727f00937.tar.bz2
Remove deprecated AudioTrack APIs
Change-Id: I88be6525f3e33df529c0c3cb701d12a484809477
Diffstat (limited to 'media')
-rw-r--r--media/libmedia/AudioTrack.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp
index ffed161..24db1bd 100644
--- a/media/libmedia/AudioTrack.cpp
+++ b/media/libmedia/AudioTrack.cpp
@@ -120,28 +120,6 @@ AudioTrack::AudioTrack(
0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId);
}
-// DEPRECATED
-AudioTrack::AudioTrack(
- int streamType,
- uint32_t sampleRate,
- int format,
- int channelMask,
- int frameCount,
- uint32_t flags,
- callback_t cbf,
- void* user,
- int notificationFrames,
- int sessionId)
- : mStatus(NO_INIT),
- mIsTimed(false),
- mPreviousPriority(ANDROID_PRIORITY_NORMAL), mPreviousSchedulingGroup(SP_DEFAULT)
-{
- mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format,
- (audio_channel_mask_t) channelMask,
- frameCount, (audio_output_flags_t)flags, cbf, user, notificationFrames,
- 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId);
-}
-
AudioTrack::AudioTrack(
audio_stream_type_t streamType,
uint32_t sampleRate,