HomeSort by relevance Sort by last modified time
    Searched refs:au_hdr (Results 1 - 2 of 2) sorted by null

  /external/bluetooth/bluez/sbc/
sbcenc.c 50 struct au_header au_hdr; local
56 if (sizeof(au_hdr) != 24) {
58 fprintf(stderr, "FIXME: sizeof(au_hdr) != 24\n");
72 len = read(fd, &au_hdr, sizeof(au_hdr));
73 if (len < (ssize_t) sizeof(au_hdr)) {
82 if (au_hdr.magic != AU_MAGIC ||
83 BE_INT(au_hdr.hdr_size) > 128 ||
84 BE_INT(au_hdr.hdr_size) < sizeof(au_hdr) ||
    [all...]
sbcdec.c 137 struct au_header au_hdr; local
139 au_hdr.magic = AU_MAGIC;
140 au_hdr.hdr_size = BE_INT(24);
141 au_hdr.data_size = BE_INT(0);
142 au_hdr.encoding = BE_INT(AU_FMT_LIN16);
143 au_hdr.sample_rate = BE_INT(frequency);
144 au_hdr.channels = BE_INT(channels);
146 written = write(ad, &au_hdr, sizeof(au_hdr));
147 if (written < (ssize_t) sizeof(au_hdr)) {
    [all...]

Completed in 196 milliseconds