Commit graph

52 commits

Author SHA1 Message Date
badaix
0b94a56fe5 Fix compile error if u_char is not defined 2019-11-22 18:26:59 +01:00
badaix
810c65773c Fix HAS_VORBIS_ENC define 2019-11-21 22:23:34 +01:00
badaix
b8be0e5349 Opus encoder handles arbitrary chunk sizes 2019-11-17 15:17:10 +01:00
badaix
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01:00
badaix
7dffa6ed65 Opus improve error handling 2019-11-03 20:23:54 +01:00
badaix
6cd3b7df67 opus add pseudo header and configurable options 2019-11-03 17:37:04 +01:00
badaix
3fea89a60b move assign function into implementation 2019-11-03 12:41:08 +01:00
badaix
258bab4f65 WIP opus is working, some values are hard coded 2019-11-02 13:19:55 +01:00
badaix
0c7691756c merge PR#4 2019-11-01 23:07:32 +01:00
badaix
7fda592d13 enable extra warnings 2019-10-13 19:01:56 +02:00
badaix
0b21a5daee rename files to snake_case 2019-10-13 18:43:32 +02:00
badaix
a30f548a31 rename files to snake_case 2019-10-12 18:28:29 +02:00
badaix
7cb595db28 move aixlog and popl to common 2019-10-09 22:11:43 +02:00
badaix
6b729ad61c reformat code 2019-09-25 19:07:23 +02:00
badaix
8b231c7cc6 modernize with clang-tidy 2019-09-25 19:02:33 +02:00
badaix
88b49ad2a0 reformat code 2019-09-24 22:52:31 +02:00
badaix
b20add3815 add clang-format file
reformat code
2019-09-24 22:42:36 +02:00
cb1
c8dd119cb8
encoderFactory.cpp: Fix HAS_VORBIS_ENC
Change HAS_VORBIS_ENC to HAS_VORBISENC
2018-12-19 15:09:07 +01:00
badaix
54a8ca824f move message dir into common 2018-03-16 00:19:52 +01:00
badaix
44046821c1 update date in copyright 2018-02-19 20:04:28 +01:00
badaix
39b880e650 fix compile errors 2018-02-03 21:55:54 +01:00
Jörg Krause
9abeac8365 Allow building server and client without FLAC support
Allows building the server and the client without FLAC support:

```
readelf -d ./bin/snapserver | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libjsonrpcpp.so]
 0x00000001 (NEEDED)                     Shared library: [libavahi-common.so.3]
 0x00000001 (NEEDED)                     Shared library: [libavahi-client.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
```

Note, that the current client and server Makefiles always enable FLAC
support.
2018-02-03 21:29:45 +01:00
Jörg Krause
a5ffa356fe Allow buidling server without Ogg support
Allow to build an Ogg-less snapserver:

```
 0x00000001 (NEEDED)                     Shared library: [libjsonrpcpp.so]
 0x00000001 (NEEDED)                     Shared library: [libFLAC.so.8]
 0x00000001 (NEEDED)                     Shared library: [libavahi-common.so.3]
 0x00000001 (NEEDED)                     Shared library: [libavahi-client.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
```
2018-02-03 21:29:00 +01:00
Jörg Krause
0489221d7f Include ogg header file 2018-02-03 21:27:12 +01:00
badaix
0ea51d95f3 switch to AixLog 2017-09-16 16:53:37 +02:00
badaix
ce55f15c02 update logger 2017-07-24 18:59:49 +02:00
badaix
fa3f78b08d move string utils in namespace utils::string 2017-06-05 12:48:59 +02:00
badaix
fdb292edb4 2017 2017-02-04 11:56:40 +01:00
badaix
043f76e35e removed trailing whitespaces 2016-11-14 22:48:07 +01:00
Johannes Pohl
d9ee0c1f52 reformatted code 2016-10-20 11:00:24 +02:00
badaix
21b4c6b982 removed nullptr check 2016-07-02 15:14:02 +02:00
badaix
16ea1a5d71 ogg: support different sample formats 2016-05-03 21:28:55 +02:00
badaix
16be4f53b8 FLAC: support different sample formats 2016-05-03 08:02:07 +02:00
badaix
1c3fd27256 spaces 2016-05-01 13:17:35 +02:00
badaix
e1a47b3b98 fixed clang warnings (CXX = /usr/bin/clang++) 2016-04-27 21:44:51 +02:00
badaix
f11a7055a1 string compat functions throw 2016-04-25 19:27:21 +02:00
badaix
efb592d495 replaced MapMessage with JsonMessage 2016-04-05 22:39:39 +02:00
badaix
41db245efc server runs on OpenWrt 2016-04-02 23:20:45 +02:00
badaix
212c9c1c6b server compiles under OpenWrt 2016-04-02 19:12:38 +02:00
badaix
d44232114a encoder header is shared ptr 2016-02-03 23:05:28 +01:00
badaix
7b1323646f init player when receiving a header message 2016-01-31 23:56:28 +01:00
badaix
c4094a2175 made SampleFormat not inherit from BaseMessage 2016-01-24 13:52:46 +01:00
badaix
eed7f287fb decoder gets sample format from header 2016-01-24 13:43:02 +01:00
badaix
fe89220b15 2016 2016-01-21 22:02:09 +01:00
badaix
84f9dd2d7a removed depency to boost lexical cast and boost algorithm 2015-12-03 21:55:11 +01:00
badaix
c8e58f272f replaced boost::lexical_cast with c++11 functions 2015-12-03 21:55:11 +01:00
badaix
d2873b6f0d default compression level 2 2015-08-19 22:35:12 +02:00
badaix
239e93de43 configurable pipe read buffer 2015-08-15 11:22:41 +02:00
badaix
c1cb395eb0 Code comments 2015-08-13 22:25:51 +02:00
badaix
4db8696889 fixed crash during shutdown 2015-08-12 23:28:44 +02:00