Home
last modified time | relevance | path

Searched refs:AudioCodec (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java37 public class AudioCodec { class
56 public static final AudioCodec PCMU = new AudioCodec(0, "PCMU/8000", null);
61 public static final AudioCodec PCMA = new AudioCodec(8, "PCMA/8000", null);
67 public static final AudioCodec GSM = new AudioCodec(3, "GSM/8000", null);
73 public static final AudioCodec GSM_EFR = new AudioCodec(96, "GSM-EFR/8000", null);
80 public static final AudioCodec AMR = new AudioCodec(97, "AMR/8000", null);
82 private static final AudioCodec[] sCodecs = {GSM_EFR, AMR, GSM, PCMU, PCMA};
84 private AudioCodec(int type, String rtpmap, String fmtp) { in AudioCodec() method in AudioCodec
93 public static AudioCodec[] getCodecs() { in getCodecs()
107 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { in getCodec()
[all …]
DAudioStream.java46 private AudioCodec mCodec;
108 public AudioCodec getCodec() { in getCodec()
119 public void setCodec(AudioCodec codec) { in setCodec()
DAudioGroup.java150 AudioCodec codec = stream.getCodec(); in add()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioCodec.cpp21 extern AudioCodec *newAlawCodec();
22 extern AudioCodec *newUlawCodec();
23 extern AudioCodec *newGsmCodec();
24 extern AudioCodec *newAmrCodec();
25 extern AudioCodec *newGsmEfrCodec();
29 AudioCodec *(*create)();
39 AudioCodec *newAudioCodec(const char *codecName) in newAudioCodec()
44 AudioCodec *codec = type->create(); in newAudioCodec()
DAudioCodec.h22 class AudioCodec
27 virtual ~AudioCodec() {} in ~AudioCodec()
36 AudioCodec *newAudioCodec(const char *codecName);
DG711Codec.cpp34 class UlawCodec : public AudioCodec
85 class AlawCodec : public AudioCodec
136 AudioCodec *newUlawCodec() in newUlawCodec()
141 AudioCodec *newAlawCodec() in newAlawCodec()
DAmrCodec.cpp32 class AmrCodec : public AudioCodec
190 class GsmEfrCodec : public AudioCodec
264 AudioCodec *newAmrCodec() in newAmrCodec()
269 AudioCodec *newGsmEfrCodec() in newGsmEfrCodec()
DGsmCodec.cpp25 class GsmCodec : public AudioCodec
75 AudioCodec *newGsmCodec() in newGsmCodec()
DAndroid.mk23 AudioCodec.cpp \
DAudioGroup.cpp102 AudioCodec *codec, int sampleRate, int sampleCount,
121 AudioCodec *mCodec;
168 AudioCodec *codec, int sampleRate, int sampleCount, in set()
947 AudioCodec *codec = NULL; in add()
/frameworks/av/include/media/
DMediaProfiles.h208 struct AudioCodec { struct
209 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() argument
215 AudioCodec(const AudioCodec& copy) { in AudioCodec() function
222 ~AudioCodec() {} in ~AudioCodec() argument
245 mAudioCodec = new AudioCodec(*copy.mAudioCodec); in CamcorderProfile() argument
258 AudioCodec *mAudioCodec;
332 static void logAudioCodec(const AudioCodec& codec);
343 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java21 import android.net.rtp.AudioCodec;
738 AudioCodec[] codecs = AudioCodec.getCodecs();
741 for (AudioCodec codec : AudioCodec.getCodecs()) {
755 AudioCodec codec = null;
762 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
824 AudioCodec codec = mAudioStream.getCodec();
1020 AudioCodec codec = null;
1027 codec = AudioCodec.getCodec(
/frameworks/av/media/libmedia/
DMediaProfiles.cpp112 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
194 /*static*/ MediaProfiles::AudioCodec*
205 MediaProfiles::AudioCodec *audioCodec = in createAudioCodec()
206 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec), in createAudioCodec()
644 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapseQcifProfile()
661 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapse480pProfile()
698 MediaProfiles::AudioCodec *audioCodec = in createDefaultCamcorderQcifProfile()
699 new MediaProfiles::AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderQcifProfile()
717 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderCifProfile()
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd342 <li>{@link android.net.rtp.AudioCodec}, which holds a collection of codecs that
351 of network mapping and a configured {@link android.net.rtp.AudioCodec}.</li>
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17632 public class AudioCodec {
17633 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
17634 method public static android.net.rtp.AudioCodec[] getCodecs();
17635 field public static final android.net.rtp.AudioCodec AMR;
17636 field public static final android.net.rtp.AudioCodec GSM;
17637 field public static final android.net.rtp.AudioCodec GSM_EFR;
17638 field public static final android.net.rtp.AudioCodec PCMA;
17639 field public static final android.net.rtp.AudioCodec PCMU;
17660 method public android.net.rtp.AudioCodec getCodec();
17665 method public void setCodec(android.net.rtp.AudioCodec);
/frameworks/base/api/
Dcurrent.txt24085 public class AudioCodec {
24086 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
24087 method public static android.net.rtp.AudioCodec[] getCodecs();
24088 field public static final android.net.rtp.AudioCodec AMR;
24089 field public static final android.net.rtp.AudioCodec GSM;
24090 field public static final android.net.rtp.AudioCodec GSM_EFR;
24091 field public static final android.net.rtp.AudioCodec PCMA;
24092 field public static final android.net.rtp.AudioCodec PCMU;
24113 method public android.net.rtp.AudioCodec getCodec();
24118 method public void setCodec(android.net.rtp.AudioCodec);
Dtest-current.txt24154 public class AudioCodec {
24155 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
24156 method public static android.net.rtp.AudioCodec[] getCodecs();
24157 field public static final android.net.rtp.AudioCodec AMR;
24158 field public static final android.net.rtp.AudioCodec GSM;
24159 field public static final android.net.rtp.AudioCodec GSM_EFR;
24160 field public static final android.net.rtp.AudioCodec PCMA;
24161 field public static final android.net.rtp.AudioCodec PCMU;
24182 method public android.net.rtp.AudioCodec getCodec();
24187 method public void setCodec(android.net.rtp.AudioCodec);
Dsystem-current.txt26107 public class AudioCodec {
26108 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
26109 method public static android.net.rtp.AudioCodec[] getCodecs();
26110 field public static final android.net.rtp.AudioCodec AMR;
26111 field public static final android.net.rtp.AudioCodec GSM;
26112 field public static final android.net.rtp.AudioCodec GSM_EFR;
26113 field public static final android.net.rtp.AudioCodec PCMA;
26114 field public static final android.net.rtp.AudioCodec PCMU;
26135 method public android.net.rtp.AudioCodec getCodec();
26140 method public void setCodec(android.net.rtp.AudioCodec);