Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESP32-audioI2S
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ESP32-audioI2S
Commits
0b55e3fd
Unverified
Commit
0b55e3fd
authored
Nov 03, 2021
by
Frank
Committed by
GitHub
Nov 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update flac_decoder.cpp
parent
43ea53b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/flac_decoder/flac_decoder.cpp
src/flac_decoder/flac_decoder.cpp
+2
-2
No files found.
src/flac_decoder/flac_decoder.cpp
View file @
0b55e3fd
...
...
@@ -78,7 +78,7 @@ uint32_t readUint(uint8_t nBits){
uint8_t
temp
=
*
(
m_inptr
+
m_rIndex
);
m_rIndex
++
;
m_bytesAvail
--
;
if
(
m_bytesAvail
<
0
)
log_i
(
"error in bitreader"
);
if
(
m_bytesAvail
<
0
)
{
log_i
(
"error in bitreader"
);
}
m_bitBuffer
=
(
m_bitBuffer
<<
8
)
|
temp
;
m_bitBufferLen
+=
8
;
}
...
...
@@ -347,7 +347,7 @@ int8_t FLACDecode(uint8_t *inbuf, int *bytesLeft, short *outbuf){
if
(
offset
!=
m_blockSize
)
return
GIVE_NEXT_LOOP
;
offset
=
0
;
if
(
offset
>
m_blockSize
)
log_e
(
"offset has a wrong value"
);
if
(
offset
>
m_blockSize
)
{
log_e
(
"offset has a wrong value"
);
}
}
alignToByte
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment