Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Dadlib.c189 int samples, to_play, written; in adlib_callback() local
196 to_play = MIN (s->left, samples); in adlib_callback()
197 while (to_play) { in adlib_callback()
198 written = write_audio (s, to_play); in adlib_callback()
203 to_play -= written; in adlib_callback()
H A Dgus.c113 int samples, to_play, net = 0; in GUS_callback() local
117 to_play = MIN (samples, s->left); in GUS_callback()
119 while (to_play) { in GUS_callback()
120 int written = write_audio (s, to_play); in GUS_callback()
127 to_play -= written; in GUS_callback()