mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge source cleanups (bug #1911)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -78,6 +78,7 @@ static char digits[80] = "";
|
||||
static char text2send[80] = "";
|
||||
|
||||
AST_MUTEX_DEFINE_STATIC(usecnt_lock);
|
||||
AST_MUTEX_DEFINE_STATIC(alsalock);
|
||||
|
||||
static char *type = "Console";
|
||||
static char *desc = "ALSA Console Channel Driver";
|
||||
@@ -330,7 +331,9 @@ static snd_pcm_t *alsa_card_init(char *dev, snd_pcm_stream_t stream)
|
||||
snd_pcm_uframes_t buffer_size = 0;
|
||||
|
||||
unsigned int rate = DESIRED_RATE;
|
||||
#if 0
|
||||
unsigned int per_min = 1;
|
||||
#endif
|
||||
//unsigned int per_max = 8;
|
||||
snd_pcm_uframes_t start_threshold, stop_threshold;
|
||||
|
||||
|
Reference in New Issue
Block a user