Home
last modified time | relevance | path

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

/external/qemu/audio/
Dwavcapture.c97 int stereo, bits16, shift; in wav_start_capture() local
112 bits16 = bits == 16; in wav_start_capture()
116 as.fmt = bits16 ? AUD_FMT_S16 : AUD_FMT_U8; in wav_start_capture()
125 shift = bits16 + stereo; in wav_start_capture()
126 hdr[34] = bits16 ? 0x10 : 0x08; in wav_start_capture()
Dwavaudio.c117 int bits16 = 0, stereo = 0; in wav_out_init() local
132 bits16 = 0; in wav_out_init()
137 bits16 = 1; in wav_out_init()
146 hdr[34] = bits16 ? 0x10 : 0x08; in wav_out_init()
161 le_store (hdr + 28, hw->info.freq << (bits16 + stereo), 4); in wav_out_init()
162 le_store (hdr + 32, 1 << (bits16 + stereo), 2); in wav_out_init()
Dfmodaudio.c346 int bits16, mode, channel; in fmod_init_out() local
377 bits16 = (mode & FSOUND_16BITS) != 0; in fmod_init_out()
408 int bits16, mode; in fmod_init_in() local
435 bits16 = (mode & FSOUND_16BITS) != 0; in fmod_init_in()