Home
last modified time | relevance | path

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

/third_party/alsa-utils/aplay/
Dformats.h52 #define BE_INT(v) bswap_32(v) macro
58 #define BE_INT(v) (v) macro
67 ((be) ? BE_INT(v) : LE_INT(v))
Daplay.c1191 if (BE_INT(ap->hdr_size) > 128 || BE_INT(ap->hdr_size) < 24) in test_au()
1193 pbrec_count = BE_INT(ap->data_size); in test_au()
1194 switch (BE_INT(ap->encoding)) { in test_au()
1216 hwparams.rate = BE_INT(ap->sample_rate); in test_au()
1219 hwparams.channels = BE_INT(ap->channels); in test_au()
1222 …t)safe_read(fd, (char *)buffer + sizeof(AuHeader), BE_INT(ap->hdr_size) - sizeof(AuHeader)) != BE_… in test_au()
2726 ah.hdr_size = BE_INT(24); in begin_au()
2727 ah.data_size = BE_INT(cnt); in begin_au()
2730 ah.encoding = BE_INT(AU_FMT_ULAW); in begin_au()
2733 ah.encoding = BE_INT(AU_FMT_LIN8); in begin_au()
[all …]
/third_party/alsa-utils/speaker-test/
Dspeaker-test.c82 #define BE_INT(v) bswap_32(v) macro
88 #define BE_INT(v) (v) macro
339 *samp8++ = BE_INT(res.i); in do_generate()
340 *samp8++ = BE_INT(res.i) >> 8; in do_generate()
341 *samp8++ = BE_INT(res.i) >> 16; in do_generate()
353 *samp8++ = BE_INT(res.i); in do_generate()
354 *samp8++ = BE_INT(res.i) >> 8; in do_generate()
355 *samp8++ = BE_INT(res.i) >> 16; in do_generate()
361 *samp32++ = BE_INT(res.i); in do_generate()