bool has_signal = false;
};
+struct AudioFormat {
+ uint16_t id = 0; // For debugging/logging only.
+ unsigned bits_per_sample = 0;
+ unsigned num_channels = 0;
+};
+
typedef std::function<void(uint16_t timecode,
FrameAllocator::Frame video_frame, size_t video_offset, VideoFormat video_format,
- FrameAllocator::Frame audio_frame, size_t audio_offset, uint16_t audio_format)>
+ FrameAllocator::Frame audio_frame, size_t audio_offset, AudioFormat audio_format)>
frame_callback_t;
class CaptureInterface {