fix radiotext for armbox

Origin commit data
------------------
Branch: ni/coolstream
Commit: c42b86ec00
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-24 (Fri, 24 Nov 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-11-24 11:08:02 +01:00
parent 146bcc001d
commit a26a89eac0

View File

@@ -2376,7 +2376,7 @@ void CRadioText::run()
uint current_pid = 0;
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;
unsigned char *buf = NULL;
audioDemux = new cDemux(0); // live demux
@@ -2407,7 +2407,7 @@ void CRadioText::run()
}
mutex.unlock();
if (pid) {
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE
#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE
int n;
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)
free(buf);
#endif