Skip to content

Commit

Permalink
dataOut_Handler: print data in radiotext json format
Browse files Browse the repository at this point in the history
  • Loading branch information
athoik committed Dec 20, 2017
1 parent de1b39c commit be9e27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example-3/main.cpp
Expand Up @@ -127,7 +127,7 @@ void programdataHandler (audiodata *d, void *ctx) {
static
void dataOut_Handler (std::string dynamicLabel, void *ctx) {
(void)ctx;
fprintf (stderr, "%s\r", dynamicLabel. c_str ());
fprintf (stderr, "{\"radiotext\":\"%s\"}\n", dynamicLabel.c_str());
}
//
// Note: the function is called from the tdcHandler with a
Expand Down

0 comments on commit be9e27c

Please sign in to comment.