Home | History | Annotate | Download | only in sbc

Lines Matching refs:au_hdr

137 		struct au_header au_hdr;
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)) {