mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
fix radiotext for armbox
This commit is contained in:
@@ -2376,7 +2376,7 @@ void CRadioText::run()
|
|||||||
uint current_pid = 0;
|
uint current_pid = 0;
|
||||||
|
|
||||||
printf("CRadioText::run: ###################### Starting thread ######################\n");
|
printf("CRadioText::run: ###################### Starting thread ######################\n");
|
||||||
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE
|
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE
|
||||||
int buflen = 0;
|
int buflen = 0;
|
||||||
unsigned char *buf = NULL;
|
unsigned char *buf = NULL;
|
||||||
audioDemux = new cDemux(0); // live demux
|
audioDemux = new cDemux(0); // live demux
|
||||||
@@ -2407,7 +2407,7 @@ void CRadioText::run()
|
|||||||
}
|
}
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
if (pid) {
|
if (pid) {
|
||||||
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE
|
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE
|
||||||
int n;
|
int n;
|
||||||
unsigned char tmp[6];
|
unsigned char tmp[6];
|
||||||
|
|
||||||
@@ -2450,7 +2450,7 @@ void CRadioText::run()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE
|
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE
|
||||||
if (buf)
|
if (buf)
|
||||||
free(buf);
|
free(buf);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user