Home
last modified time | relevance | path

Searched refs:AudioCodec (Results 1 – 17 of 17) 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.bp18 "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/media/libmedia/include/media/
DMediaProfiles.h234 struct AudioCodec { struct
235 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() argument
241 AudioCodec(const AudioCodec& copy) { in AudioCodec() argument
248 ~AudioCodec() {} in ~AudioCodec() argument
271 mAudioCodec = new AudioCodec(*copy.mAudioCodec); in CamcorderProfile() argument
284 AudioCodec *mAudioCodec;
358 static void logAudioCodec(const AudioCodec& codec);
373 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
/frameworks/av/include/media/
DMediaProfiles.h234 struct AudioCodec { struct
235 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() function
241 AudioCodec(const AudioCodec& copy) { in AudioCodec() function
248 ~AudioCodec() {} in ~AudioCodec() argument
271 mAudioCodec = new AudioCodec(*copy.mAudioCodec); in CamcorderProfile() argument
284 AudioCodec *mAudioCodec;
358 static void logAudioCodec(const AudioCodec& codec);
373 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.cpp114 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
196 /*static*/ MediaProfiles::AudioCodec*
207 MediaProfiles::AudioCodec *audioCodec = in createAudioCodec()
208 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec), in createAudioCodec()
651 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapseQcifProfile()
668 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapse480pProfile()
705 MediaProfiles::AudioCodec *audioCodec = in createDefaultCamcorderQcifProfile()
706 new MediaProfiles::AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderQcifProfile()
724 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderCifProfile()
/frameworks/base/config/
Dhiddenapi-public-dex.txt25746 Landroid/net/rtp/AudioCodec;
25747 Landroid/net/rtp/AudioCodec;->AMR:Landroid/net/rtp/AudioCodec;
25748 Landroid/net/rtp/AudioCodec;->fmtp:Ljava/lang/String;
25749 Landroid/net/rtp/AudioCodec;->getCodec(ILjava/lang/String;Ljava/lang/String;)Landroid/net/rtp/Audio…
25750 Landroid/net/rtp/AudioCodec;->getCodecs()[Landroid/net/rtp/AudioCodec;
25751 Landroid/net/rtp/AudioCodec;->GSM:Landroid/net/rtp/AudioCodec;
25752 Landroid/net/rtp/AudioCodec;->GSM_EFR:Landroid/net/rtp/AudioCodec;
25753 Landroid/net/rtp/AudioCodec;->PCMA:Landroid/net/rtp/AudioCodec;
25754 Landroid/net/rtp/AudioCodec;->PCMU:Landroid/net/rtp/AudioCodec;
25755 Landroid/net/rtp/AudioCodec;->rtpmap:Ljava/lang/String;
[all …]
/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.txt27701 public class AudioCodec {
27702 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
27703 method public static android.net.rtp.AudioCodec[] getCodecs();
27704 field public static final android.net.rtp.AudioCodec AMR;
27705 field public static final android.net.rtp.AudioCodec GSM;
27706 field public static final android.net.rtp.AudioCodec GSM_EFR;
27707 field public static final android.net.rtp.AudioCodec PCMA;
27708 field public static final android.net.rtp.AudioCodec PCMU;
27729 method public android.net.rtp.AudioCodec getCodec();
27734 method public void setCodec(android.net.rtp.AudioCodec);