ALSA rt-thread priority fixes

This commit is contained in:
Robin Gareus 2014-06-06 20:37:00 +02:00
parent b68d2e25b2
commit c452cd9be2
3 changed files with 12 additions and 10 deletions

View file

@ -24,7 +24,7 @@
static int
_realtime_pthread_create (
int policy, int priority,
const int policy, int priority, const size_t stacksize,
pthread_t *thread,
void *(*start_routine) (void *),
void *arg)
@ -33,7 +33,6 @@ _realtime_pthread_create (
pthread_attr_t attr;
struct sched_param parm;
const size_t stacksize = 100000;
const int p_min = sched_get_priority_min (policy);
const int p_max = sched_get_priority_max (policy);