Skip to content

Commit 1fd90e6

Browse files
committed
Arduino Library Support
1 parent 3951cf1 commit 1fd90e6

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# arduino-liblc3
2+
3+
LC3 (Low Complexity Communication Codec) is an audio codec specified by the Bluetooth Special Interest Group (SIG) for the LE Audio audio protocol introduced in Bluetooth 5.2. It's developed by Fraunhofer IIS and Ericsson as the successor of the SBC codec.
4+
5+
I cloned the orignal https://github.com/zephyrproject-rtos/liblc3codec and converted it to an Arduino Library
6+
7+
## Installation
8+
9+
For Arduino, you can download the library as zip and call include Library -> zip library. Or you can git clone this project into the Arduino libraries folder e.g. with
10+
11+
```
12+
cd ~/Documents/Arduino/libraries
13+
git clone pschatzmann/arduino-liblc3.git
14+
```
15+
This has the advantage that you can easily get the latest code updates by just executing the command ```git pull```
16+
17+
18+
19+

library.properties

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name=liblc3
2+
version=0.1
3+
author=Phil Schatzmann
4+
maintainer=<[email protected]>
5+
sentence=libsbc audio decoder for Arduino
6+
paragraph=libsbc audio decoder for Arduino
7+
category=Signal Input/Output
8+
url=https://github.com/pschatzmann/arduino-libsbc
9+
architectures=*

src/lc3.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* @file lc3.h
3+
* @author Phil Schatzmann
4+
* @brief Needed by Arduino. We just link to the implementation in the include directory
5+
* @version 0.1
6+
* @date 2022-04-28
7+
*
8+
* @copyright Copyright (c) 2022
9+
*
10+
*/
11+
#pragma once
12+
#include "../include/lc3.h"

0 commit comments

Comments
 (0)