Home
last modified time | relevance | path

Searched refs:ConvertFloatToByteArray (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/transient/
Dfile_utils.cc51 int ConvertFloatToByteArray(float value, uint8_t out_bytes[4]) { in ConvertFloatToByteArray() function
224 ConvertFloatToByteArray(buffer[floats_written], byte_array.get()); in WriteFloatBufferToFile()
Dfile_utils_unittest.cc121 #define MAYBE_ConvertFloatToByteArray ConvertFloatToByteArray
126 EXPECT_EQ(0, ConvertFloatToByteArray(kPi, bytes.get())); in TEST_F()
129 EXPECT_EQ(0, ConvertFloatToByteArray(kE, bytes.get())); in TEST_F()
132 EXPECT_EQ(0, ConvertFloatToByteArray(kAvogadro, bytes.get())); in TEST_F()
Dfile_utils.h46 int ConvertFloatToByteArray(float value, uint8_t out_bytes[4]);