Home
last modified time | relevance | path

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

/external/qemu/audio/
Desdaudio.c229 int esdfmt = ESD_STREAM | ESD_PLAY; in qesd_init_out() local
231 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO; in qesd_init_out()
235 esdfmt |= ESD_BITS8; in qesd_init_out()
246 esdfmt |= ESD_BITS16; in qesd_init_out()
267 esd->fd = FF(esd_play_stream) (esdfmt, as->freq, conf.dac_host, NULL); in qesd_init_out()
440 int esdfmt = ESD_STREAM | ESD_RECORD; in qesd_init_in() local
442 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO; in qesd_init_in()
446 esdfmt |= ESD_BITS8; in qesd_init_in()
452 esdfmt |= ESD_BITS16; in qesd_init_in()
459 esdfmt |= ESD_BITS16; in qesd_init_in()
[all …]