summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2014-02-25 16:50:10 +0100
committerThomas Reufer <thomas@reufer.ch>2014-02-25 16:50:10 +0100
commit3373263ed1122b6a2313f427018f7f3c107af90a (patch)
treeb887f9fd74eb7d90fd0b38f7652be31ffc214c08
parent4c8dffd4f05631a1ce79679a4a00bcfd97004606 (diff)
downloadvdr-plugin-rpihddevice-3373263ed1122b6a2313f427018f7f3c107af90a.tar.gz
vdr-plugin-rpihddevice-3373263ed1122b6a2313f427018f7f3c107af90a.tar.bz2
update comments
-rw-r--r--audio.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/audio.c b/audio.c
index b629db9..6bf93c4 100644
--- a/audio.c
+++ b/audio.c
@@ -135,10 +135,6 @@ private:
// size is set to the first frame length.
// Valid packets are always moved to the buffer start, if no valid
// audio frame has been found, packet gets cleared.
- //
- // To do:
- // - parse sampling rate to allow non-48kHz audio
- // - consider codec change for next frame check
void Parse()
{
@@ -152,10 +148,9 @@ private:
while (m_size - offset >= 3)
{
// 4 bytes 0xFFExxxxx MPEG audio
- // 3 bytes 0x56Exxx AAC LATM audio
// 5 bytes 0x0B77xxxxxx AC-3 audio
// 6 bytes 0x0B77xxxxxxxx E-AC-3 audio
- // 7/9 bytes 0xFFFxxxxxxxxxxx ADTS audio
+ // 7/9 bytes 0xFFFxxxxxxxxxxx AAC audio
// PCM audio can't be found
const uint8_t *p = m_packet.data + offset;