arduino-audio-tools
Public Member Functions | List of all members
VideoAudioSync Class Reference

Logic to Synchronize video and audio output: This is the minimum implementatin which actually does not synchronize, but directly processes the data. No additinal memory is used! Provide your own optimized platform specific implementation. More...

#include <Video.h>

Inheritance diagram for VideoAudioSync:
VideoAudioBufferedSync

Public Member Functions

virtual void delayVideoFrame (int32_t microsecondsPerFrame, uint32_t time_used_ms)
 
virtual void writeAudio (Print *out, uint8_t *data, size_t size)
 Process the audio data.
 

Detailed Description

Logic to Synchronize video and audio output: This is the minimum implementatin which actually does not synchronize, but directly processes the data. No additinal memory is used! Provide your own optimized platform specific implementation.

Author
Phil Schatzmann

Member Function Documentation

◆ delayVideoFrame()

virtual void delayVideoFrame ( int32_t  microsecondsPerFrame,
uint32_t  time_used_ms 
)
inlinevirtual

Adds a delay after playing a frame to process with the correct frame rate. If the playing is too slow we return the mod to select the frames

Reimplemented in VideoAudioBufferedSync.


The documentation for this class was generated from the following file: