Skip to content

Commit

Permalink
Improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
williamyang98 committed Apr 8, 2024
1 parent 0216d49 commit debaf06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/basic_radio/basic_dab_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ void Basic_DAB_Channel::Process(tcb::span<const viterbi_bit_t> msc_bits_buf) {
// Is there a more sensible way to do this?
if (m_controls.GetIsDecodeData()) {
const int bitrate_per_channel = bitrate_kbps/total_channels;
// DOC: ETSI TS 103 466
// Figure 6: DAB audio frame structure
const int total_crc_bytes = (bitrate_per_channel >= 56) ? 4 : 2;
const int total_fpad_bytes = 2;
Expand Down
3 changes: 2 additions & 1 deletion src/basic_radio/basic_data_packet_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Basic_Data_Packet_Channel::Basic_Data_Packet_Channel(const DAB_Parameters& param
}
});

// Where do we use this?
// TODO: Right now we just pass everything through the MOT decoder via the data packet processor
// How to handle other object types besides MOT
(void)m_type;
}

Expand Down

0 comments on commit debaf06

Please sign in to comment.