speaker-test: Fix version reporting.

This commit is contained in:
James Courtier-Dutton 2005-12-22 13:35:42 +00:00
parent 9fb30e388f
commit 2975ef9e75
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,4 @@
SPEAKER_TEST_VERSION = 0.0.8
INCLUDES = -I$(top_srcdir)/include -DSPEAKER_TEST_VERSION=\"$(SPEAKER_TEST_VERSION)\"
INCLUDES = -I$(top_srcdir)/include
SUBDIRS= samples
LDADD = $(LIBINTL)

View file

@ -57,6 +57,7 @@
#include "pink.h"
#include "aconfig.h"
#include "gettext.h"
#include "version.h"
enum {
TEST_PINK_NOISE = 1,
@ -758,7 +759,7 @@ int main(int argc, char *argv[]) {
morehelp = 0;
printf("\nspeaker-test %s\n\n", SPEAKER_TEST_VERSION);
printf("\nspeaker-test %s\n\n", SND_UTIL_VERSION_STR);
while (1) {
int c;