uint16_t id = 0; // For debugging/logging only.
unsigned bits_per_sample = 0;
unsigned num_channels = 0;
+ unsigned sample_rate = 48000;
};
enum PixelFormat {
// the stride member of VideoFormat.
PixelFormat_10BitYCbCr,
- // 8-bit 4:4:4:4 RGBA (in that order). bmusb itself doesn't
+ // 8-bit 4:4:4:4 BGRA (in that order). bmusb itself doesn't
// produce this, but it is useful to represent e.g. synthetic inputs.
- PixelFormat_8BitRGBA
+ PixelFormat_8BitBGRA
};
typedef std::function<void(uint16_t timecode,