stolosapo / cppplayground Goto Github PK
View Code? Open in Web Editor NEWA playground for C++ applications
License: GNU General Public License v2.0
A playground for C++ applications
License: GNU General Public License v2.0
LibShout crashes after a long pause of sending data.
This can be happen if pause the playlist and resume it again after 20 or more seconds, also can be happen if the shoutQueueLen is very big number and the shout sync takes a lot of time.
Tip: check below issue..
http://lists.xiph.org/pipermail/icecast-dev/2012-September/002084.html
Menu should contain MenuItems. Each MenuItem should have id, name, caption, enable. Also should contains an action.
Menu should contain SubMenus. Each SubMenu is a new Menu with MenuItems
Menu should have a factory that creates, prints the menu and have functionality to navigate in.
Multithread tcp server blocked on accept new client:
Must start new thread from the start of new client connection
...to put in all the options of the application
For MenuItem action pointers to functions can be used...
http://stackoverflow.com/questions/1485983/calling-c-class-methods-via-a-function-pointer
http://www.newty.de/fpt/fpt.html#defi
create method in menu factory that starts the menu to run, not only to print or create.
Add functionality for having more than one configs for an icecast client
Segmentation fault, when playlist cannot locate mp3 file
Create a service that can read and write informations from and to .config files, that contains Json data
The structure of file has to be JSON format.
Segmentation fault when sent command "next" and the next track is in the middle of "re-Encoding"
put exit process in menu item.
set exit code...
AppContext class that contains, singleton objects (services).
Services must be immutables and consts.
Const Example
http://www.learncpp.com/cpp-tutorial/810-const-class-objects-and-member-functions/
and exceptions in general:
create namespaces between services and opperations
Lets keep id's via factory and not in constactors
Each module-menu item must have the ability to use its own arguments
https://stackoverflow.com/questions/27112357/how-to-obtain-mp3-audio-packets-for-streaming-in-c-c
http://www.cplusplus.com/forum/general/105054/
http://www.mp3-tech.org/programmer/frame_header.html
https://stackoverflow.com/questions/10926967/marker-for-mp3-frame
https://stackoverflow.com/questions/11360286/detect-if-file-is-mp3
Create a GPIO class that do basic stuff in RasberryPi and GPIO
http://www.hertaville.com/introduction-to-accessing-the-raspberry-pis-gpio-in-c.html
Write the number of played tracks when icecast agent stops, and use this number as the number of history track to load when started again.
Error when sent the command: "search?Grant Green&0&10" exit with error "Floating point exception"
Makefile should create bin folders that they are not exist. Based on src folders
Create base classes for all Models (all classes that have representation and have identity) and all Entity Models (classes that are represented in some data structure)
create a class that produces white noise, pink and other noise types...
http://peabody.sapp.org/class/dmp2/lab/whitenoise/
http://www.cplusplus.com/forum/general/109119/
http://www.neowin.net/forum/topic/323594-generate-white-noise-on-linux/
This error occurs when the destructor runs and none of the threads are have been used.
General errors when the communication between icecast server and client is broken.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.