Home
last modified time | relevance | path

Searched refs:audio_bytes_per_sample (Results 1 – 6 of 6) sorted by relevance

/system/media/audio_utils/tests/
Dformat_tests.cpp104 EXPECT_EQ(0, memcmp(check, data, SAMPLES * audio_bytes_per_sample(dst_encoding))); in TEST_P()
114 memcmp(data, orig_data, SAMPLES * audio_bytes_per_sample(orig_encoding))); in TEST_P()
/system/media/audio_utils/
Dformat.c35 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); in memcpy_by_audio_format()
DPowerLog.cpp68 const size_t bytes_per_sample = audio_bytes_per_sample(mFormat); in log()
Decho_reference.c553 er->rd_frame_size = audio_bytes_per_sample(rdFormat) * rdChannelCount; in create_echo_reference()
554 er->wr_frame_size = audio_bytes_per_sample(wrFormat) * wrChannelCount; in create_echo_reference()
/system/tools/hidl/c2hal/test/
Dtest.h334 chan_samp_sz = audio_bytes_per_sample(format); in audio_stream_out_frame_size()
/system/media/audio/include/system/
Daudio.h1868 static inline size_t audio_bytes_per_sample(audio_format_t format) in audio_bytes_per_sample() function
1899 return channel_count * audio_bytes_per_sample(format); in audio_bytes_per_frame()