Home
last modified time | relevance | path

Searched refs:SAMPLE_RATE (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp31 #define SAMPLE_RATE 48000 macro
33 #define NANOS_PER_BURST (NANOS_PER_SECOND * HW_FRAMES_PER_BURST / SAMPLE_RATE)
41 model.setSampleRate(SAMPLE_RATE); in SetUp()
92 ASSERT_EQ(SAMPLE_RATE, model.getSampleRate()); in TEST_F()
99 ASSERT_EQ(SAMPLE_RATE, position); in TEST_F()
103 constexpr int64_t kNanosPerBurst = HW_FRAMES_PER_BURST * NANOS_PER_SECOND / SAMPLE_RATE; in TEST_F()
105 ASSERT_EQ(SAMPLE_RATE + (HW_FRAMES_PER_BURST / 2), position); in TEST_F()
107 int64_t time = model.convertDeltaPositionToTime(SAMPLE_RATE); in TEST_F()
111 time = model.convertDeltaPositionToTime(SAMPLE_RATE + (HW_FRAMES_PER_BURST / 2)); in TEST_F()
154 checkDriftingClock(SAMPLE_RATE, NUM_LOOPS_DRIFT); in TEST_F()
[all …]
/frameworks/base/media/java/android/media/
DAudioPortConfig.java49 static final int SAMPLE_RATE = 0x1; field in AudioPortConfig
DAudioTrack.java3751 public static final String SAMPLE_RATE = MM_PREFIX + "sampleRate"; field in AudioTrack.MetricsConstants
/frameworks/av/media/libaudioclient/include/media/
DAudioMixer.h86 SAMPLE_RATE = 0x4100, // Configure sample rate conversion on this track name; enumerator
/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp276 AudioMixer::SAMPLE_RATE, in main()
/frameworks/av/include/media/
DAudioMixer.h86 SAMPLE_RATE = 0x4100, // Configure sample rate conversion on this track name; enumerator
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp36 SAMPLE_RATE, enumerator
181 remote()->transact(SAMPLE_RATE, data, &reply); in sampleRate()
1055 case SAMPLE_RATE: { in onTransact()
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp734 case SAMPLE_RATE: in setParameter()
/frameworks/av/services/audioflinger/
DThreads.cpp5034 AudioMixer::SAMPLE_RATE, in prepareTracks_l()
/frameworks/base/api/
Dtest-current.txt1151 field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate";