forked from len0rd/rockbox
Kill some global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24888 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9502021590
commit
2ac91dcd98
2 changed files with 4 additions and 4 deletions
|
|
@ -218,8 +218,8 @@ static int treble; /* A/V */
|
|||
/* Settings applicable to audio codec only */
|
||||
static int32_t pitch_ratio = PITCH_SPEED_100;
|
||||
static int channels_mode;
|
||||
long dsp_sw_gain;
|
||||
long dsp_sw_cross;
|
||||
static long dsp_sw_gain;
|
||||
static long dsp_sw_cross;
|
||||
static bool dither_enabled;
|
||||
static long eq_precut;
|
||||
static long track_gain;
|
||||
|
|
|
|||
|
|
@ -120,8 +120,8 @@ static bool force_enqueue_next; /* enqueue next utterance even if enqueue is fal
|
|||
static int queue_write; /* write index of queue, by application */
|
||||
static int queue_read; /* read index of queue, by ISR context */
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
struct mutex queue_mutex SHAREDBSS_ATTR; /* protects queue_read, queue_write
|
||||
and thumbnail_buf_used */
|
||||
/* protects queue_read, queue_write and thumbnail_buf_used */
|
||||
static struct mutex queue_mutex SHAREDBSS_ATTR;
|
||||
#define talk_queue_lock() ({ mutex_lock(&queue_mutex); })
|
||||
#define talk_queue_unlock() ({ mutex_unlock(&queue_mutex); })
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue