Skip to contentSkip to conversation

Make wav the default for speaker test

PATCH Lee Revell 2 participants 3 messages Jun 28, 2006

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

I think it's nicer to have the sampled voice be the default for speaker-test. Any objections?

speaker-test.c renamed from speaker-test.c~ +1 -1
@@ -76,7 +76,7 @@
 static unsigned int       period_time = 0;	            /* period time in us */
 static unsigned int       nperiods    = 4;                  /* number of periods */
 static double             freq        = 440;                /* sinusoidal wave frequency in Hz */
-static int                test_type   = TEST_PINK_NOISE;    /* Test type. 1 = noise, 2 = sine wave */
+static int                test_type   = TEST_WAV;    /* Test type. 1 = noise, 2 = sine wave, 3 = voice */
 static pink_noise_t pink;
 static snd_pcm_uframes_t  buffer_size;
 static snd_pcm_uframes_t  period_size;

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#1 lore raw
Quoted 9 lines · Lee Revell

I think it's nicer to have the sampled voice be the default for speaker-test. Any objections?

speaker-test.c line 82

Quoted 8 lines
speaker-test.c renamed from speaker-test.c~ +1 -1
@@ -76,7 +76,7 @@
 static unsigned int       period_time = 0;	            /* period time in us */
 static unsigned int       nperiods    = 4;                  /* number of periods */
 static double             freq        = 440;                /* sinusoidal wave frequency in Hz */
-static int                test_type   = TEST_PINK_NOISE;    /* Test type. 1 = noise, 2 = sine wave */
+static int                test_type   = TEST_WAV;    /* Test type. 1 = noise, 2 = sine wave, 3 = voice */
 static pink_noise_t pink;
 static snd_pcm_uframes_t  buffer_size;
 static snd_pcm_uframes_t  period_size;

What about people who don't speak English?
"Pink" is the international language. ;-)

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

author
#2 lore raw
Quoted 3 lines · James Courtier-Dutton

What about people who don't speak English?
"Pink" is the international language. ;-)

Hah, good point. Didn't even think of that. Can you tell I'm American? ;-)

Lee

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642