Lines 676-682
Link Here
|
676 |
static void |
676 |
static void |
677 |
audio_thread( void *dummy ) |
677 |
audio_thread( void *dummy ) |
678 |
{ |
678 |
{ |
679 |
setpriority( PRIO_PROCESS, getpid(), -20 ); |
679 |
/* setpriority( PRIO_PROCESS, getpid(), -20 ); */ |
680 |
|
680 |
|
681 |
LOCK; |
681 |
LOCK; |
682 |
if( ss.ringbuf ) |
682 |
if( ss.ringbuf ) |
Lines 695-701
Link Here
|
695 |
ss.startboingbuf = NULL; |
695 |
ss.startboingbuf = NULL; |
696 |
} |
696 |
} |
697 |
UNLOCK; |
697 |
UNLOCK; |
698 |
setpriority( PRIO_PROCESS, getpid(), 0 ); |
698 |
/* setpriority( PRIO_PROCESS, getpid(), 0 ); */ |
699 |
} |
699 |
} |
700 |
|
700 |
|
701 |
|
701 |
|
Lines 770-776
Link Here
|
770 |
ss.started = 0; |
770 |
ss.started = 0; |
771 |
|
771 |
|
772 |
LOCK; |
772 |
LOCK; |
773 |
setpriority( PRIO_PROCESS, getpid(), ss.save_priority ); |
773 |
/* setpriority( PRIO_PROCESS, getpid(), ss.save_priority ); */ |
774 |
|
774 |
|
775 |
ss.thread_running = -1; |
775 |
ss.thread_running = -1; |
776 |
irq_line_low( ss.irq ); |
776 |
irq_line_low( ss.irq ); |
Lines 795-801
Link Here
|
795 |
ss.dbuf_go = 0; |
795 |
ss.dbuf_go = 0; |
796 |
|
796 |
|
797 |
ss.save_priority = getpriority( PRIO_PROCESS, pid ); |
797 |
ss.save_priority = getpriority( PRIO_PROCESS, pid ); |
798 |
setpriority( PRIO_PROCESS, pid, -12 ); |
798 |
/* setpriority( PRIO_PROCESS, pid, -12 ); */ |
799 |
|
799 |
|
800 |
if( ss.thread_running ) { |
800 |
if( ss.thread_running ) { |
801 |
/* jump start already running thread */ |
801 |
/* jump start already running thread */ |