diff options
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r-- | audio/out/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h index 820acc52a0..5b922657d0 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -139,6 +139,9 @@ struct ao_driver { // first write() call is done. Encode mode uses this, and push mode // respects it automatically (don't use with pull mode). bool initially_blocked; + // If true, write units of entire frames. The write() call is modified to + // use data==mp_aframe. Useful for encoding AO only. + bool write_frames; // Init the device using ao->format/ao->channels/ao->samplerate. If the // device doesn't accept these parameters, you can attempt to negotiate // fallback parameters, and set the ao format fields accordingly. |