Home
last modified time | relevance | path

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

/third_party/alsa-utils/aplay/
Dformats.h49 #define LE_SHORT(v) (v) macro
55 #define LE_SHORT(v) bswap_16(v) macro
65 ((be) ? BE_SHORT(v) : LE_SHORT(v))
Daplay.c957 vocminor = LE_SHORT(vp->version) & 0xFF; in test_vocfile()
958 vocmajor = LE_SHORT(vp->version) / 256; in test_vocfile()
959 if (LE_SHORT(vp->version) != (0x1233 - LE_SHORT(vp->coded_ver))) in test_vocfile()
961 return LE_SHORT(vp->headerlen) - sizeof(VocHeader); /* 0 mostly */ in test_vocfile()
2606 vh.headerlen = LE_SHORT(sizeof(VocHeader)); in begin_voc()
2607 vh.version = LE_SHORT(VOC_ACTUAL_VERSION); in begin_voc()
2608 vh.coded_ver = LE_SHORT(0x1233 - VOC_ACTUAL_VERSION); in begin_voc()
2623 eb.tc = LE_SHORT(65536 - 256000000L / (hwparams.rate << 1)); in begin_voc()
2691 f.format = LE_SHORT(WAV_FMT_IEEE_FLOAT); in begin_wave()
2693 f.format = LE_SHORT(WAV_FMT_PCM); in begin_wave()
[all …]
/third_party/alsa-utils/speaker-test/
Dspeaker-test.c79 #define LE_SHORT(v) (v) macro
85 #define LE_SHORT(v) bswap_16(v) macro
323 *samp16++ = LE_SHORT(res.i >> 16); in do_generate()
709 if (header.body.format != LE_SHORT(WAV_PCM_CODE)) { in check_wav_file()
711 LE_SHORT(header.body.format), wav_file[channel]); in check_wav_file()
714 if (header.body.channels != LE_SHORT(1)) { in check_wav_file()
716 wav_file[channel], LE_SHORT(header.body.channels)); in check_wav_file()
724 if (header.body.sample_bits != LE_SHORT(16)) { in check_wav_file()
726 LE_SHORT(header.body.sample_bits), wav_file[channel]); in check_wav_file()