Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/gadget/
H A Dg_audio.c88 uint16_t sc_data_len[2][G_AUDIO_FRAMES];
167 .frames = G_AUDIO_FRAMES,
179 .frames = G_AUDIO_FRAMES,
191 .frames = G_AUDIO_FRAMES,
203 .frames = G_AUDIO_FRAMES,
306 for (i = 0; i != G_AUDIO_FRAMES; i++) { in g_audio_attach()
307 sc->sc_data_len[0][i] = G_AUDIO_BUFSIZE / G_AUDIO_FRAMES; in g_audio_attach()
308 sc->sc_data_len[1][i] = G_AUDIO_BUFSIZE / G_AUDIO_FRAMES; in g_audio_attach()
452 for (i = 0; i != G_AUDIO_FRAMES; i++) { in g_audio_isoc_write_callback()
455 g_audio_make_samples(sc, ptr, (G_AUDIO_BUFSIZE / G_AUDIO_FRAMES) / 2); in g_audio_isoc_write_callback()
[all …]
H A Dg_audio.h32 #define G_AUDIO_FRAMES 8 macro
33 #define G_AUDIO_BUFSIZE (G_AUDIO_FRAMES * 2 * 2 * 48) /* units */