-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lc3: Moved LC3 #826
lc3: Moved LC3 #826
Conversation
@@ -0,0 +1,115 @@ | |||
# | |||
# Copyright (c) 2022 Nordic Semiconductor ASA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this long license here? Or can we use the short 5-Clause one?
* | ||
* All rights reserved. | ||
* | ||
* SPDX-License-Identifier: Nordic-5-Clause |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the short 5-Clause license?
It looks like lc3/Cmakelists.txt uses the short one
* | ||
* All rights reserved. | ||
* | ||
* SPDX-License-Identifier: Nordic-5-Clause |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use short 5-Clause here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The readme.mds and other txt and html files cannot go into nrfxlib in the current form.
As this is a major addition to the nrfxlib and the docs, I suggest the PR to be moved to after 2.1.0.
@greg-fer @carlescufi |
646e2cc
to
4b56752
Compare
+1 to remove the milestone from this, documentation needs a thorough review and we are 1 day away from the doc improvement freeze (not mentioning this is not a doc improvement but a whole new lib getting added). |
0427c8e
to
1ffecb7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@koffes Can you sign the CLA (#826 (comment))? Or did you do that already and it's just the CLA check failure (it happens sometimes)? |
Moved LC3 from separate repo to sdk-nrfxlib Signed-off-by: Kristoffer Rist Skøien <kristoffer.skoien@nordicsemi.no>
@rlubos I think it's a one-off because the CLA appears signed in the sdk-nrf PR: |
As per the CLA: This work is Submitted on behalf of a third-party T2 Software/Nordic Semiconductor |
lc3/src/sw_codec_lc3.c
Outdated
|
||
/* Set unique session to 0 for using the default sharing memory setting. | ||
* | ||
* This could lead to higher heap consumtion, but is able to manipulate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* This could lead to higher heap consumtion, but is able to manipulate | |
* This could lead to higher heap consumption, but is able to manipulate |
* | ||
* When LC3_SAMPLE_RATE_ALL and/or LC3FrameSizeBothConfig are used and the | ||
* uniqueSessions value is less than the number of (sample rates * frame sizes), | ||
* the codec allocates the worse case shared memory required based on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* the codec allocates the worse case shared memory required based on the | |
* the codec allocates the worst case shared memory required based on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot edit this file due to legal reasons.
|
||
/**@brief Closes an LC3 Decoder session. | ||
* | ||
* This function closes the decodeHandle's session and and releases allocated session memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* This function closes the decodeHandle's session and and releases allocated session memory. | |
* This function closes the decodeHandle's session and releases allocated session memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot edit this file due to legal reasons.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I can't approve my own PR.
lc3/README.rst
Outdated
:depth: 2 | ||
|
||
Low Complexity Communication Codec (LC3) is the default software codec for the :ref:`nrf53_audio_app` application, conformant to the `Bluetooth® LE Audio specifications`_ (Bluetooth 5.2, QDID #156294). | ||
It is used only by this application for encoding and decoding purposes, but can be used with any other audio application developed with the nRF5340 Audio DK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite precise. I think it is better to refer to license.txt not to duplicate info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed line.
Created a readme file with changelog included. Moved the API PDF to FTP and included link in the readme. Moved legal files to top folder. Deleted original doc files. Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>
Moved LC3 from separate repo to sdk-nrfxlib
Signed-off-by: Kristoffer Rist Skøien kristoffer.skoien@nordicsemi.no