120111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber/*
220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * Copyright (C) 2009 The Android Open Source Project
320111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber *
420111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * Licensed under the Apache License, Version 2.0 (the "License");
520111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * you may not use this file except in compliance with the License.
620111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * You may obtain a copy of the License at
720111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber *
820111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber *      http://www.apache.org/licenses/LICENSE-2.0
920111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber *
1020111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * Unless required by applicable law or agreed to in writing, software
1120111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * distributed under the License is distributed on an "AS IS" BASIS,
1220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1320111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * See the License for the specific language governing permissions and
1420111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber * limitations under the License.
1520111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber */
163de157dd8f9cd45bf9b0406268f5830887105ae1Chong Zhang//#define LOG_NDEBUG 0
173de157dd8f9cd45bf9b0406268f5830887105ae1Chong Zhang#define LOG_TAG "DataSource"
1820111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber
1966326a5ee0869f1ee4d136a477e6effba428b3cbAndreas Huber#include "include/AMRExtractor.h"
206c83e3be2921009ff7dcfced2a3eda7811b8b041Narayan Kamath
2156997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/AACExtractor.h"
2299f31604136d66ae10e20669fb6b5716f342bde0Chris Watkins#include "include/CallbackDataSource.h"
2356997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/DRMExtractor.h"
2456997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/FLACExtractor.h"
2556997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/HTTPBase.h"
26faf4efc6a41e88adf85f76f48f020a6d681f5ff1Marco Nelissen#include "include/MidiExtractor.h"
2766326a5ee0869f1ee4d136a477e6effba428b3cbAndreas Huber#include "include/MP3Extractor.h"
282944eca607304a095ea43ba2b8f0b9de61249f9fAndreas Huber#include "include/MPEG2PSExtractor.h"
29cda17c606b0fe3ccda4dc68a6d43882410ea2462Andreas Huber#include "include/MPEG2TSExtractor.h"
3056997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/MPEG4Extractor.h"
310a5baa9b411fe086013d2a5e9126ed63fbad046cAndreas Huber#include "include/NuCachedSource2.h"
3256997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/OggExtractor.h"
3356997121c5031598fbbba7b7c53980b7fd529c2dMarco Nelissen#include "include/WAVExtractor.h"
349d2f386dd2885eaffa11fd494ae258bb09fe6397James Dong#include "include/WVMExtractor.h"
3566326a5ee0869f1ee4d136a477e6effba428b3cbAndreas Huber
36093437c388e5dff6903a3d43f2ca9f8a1ba4744aAndreas Huber#include "matroska/MatroskaExtractor.h"
37093437c388e5dff6903a3d43f2ca9f8a1ba4744aAndreas Huber
381b86fe063badb5f28c467ade39be0f4008688947Andreas Huber#include <media/IMediaHTTPConnection.h>
391b86fe063badb5f28c467ade39be0f4008688947Andreas Huber#include <media/IMediaHTTPService.h>
403de157dd8f9cd45bf9b0406268f5830887105ae1Chong Zhang#include <media/stagefright/foundation/ADebug.h>
415a1c3529e4fa2f8a11054181294e0ce79fff8dd3Andreas Huber#include <media/stagefright/foundation/AMessage.h>
42