Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/stream_info_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ bool query_cache::matches_query(const xml_document &doc, const std::string &quer
}

int stream_info_impl::channel_bytes() const {
const int channel_format_sizes[] = {0, sizeof(float), sizeof(double), sizeof(std::string),
const int channel_format_sizes[] = {0, sizeof(float), sizeof(double), 0,
sizeof(int32_t), sizeof(int16_t), sizeof(int8_t), 8};
return channel_format_sizes[channel_format_];
}
Expand Down
Loading