mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-03 09:29:50 +01:00
speaker-test: Fix version reporting.
This commit is contained in:
parent
9fb30e388f
commit
2975ef9e75
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
SPEAKER_TEST_VERSION = 0.0.8
|
INCLUDES = -I$(top_srcdir)/include
|
||||||
INCLUDES = -I$(top_srcdir)/include -DSPEAKER_TEST_VERSION=\"$(SPEAKER_TEST_VERSION)\"
|
|
||||||
SUBDIRS= samples
|
SUBDIRS= samples
|
||||||
LDADD = $(LIBINTL)
|
LDADD = $(LIBINTL)
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
#include "pink.h"
|
#include "pink.h"
|
||||||
#include "aconfig.h"
|
#include "aconfig.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
TEST_PINK_NOISE = 1,
|
TEST_PINK_NOISE = 1,
|
||||||
|
@ -758,7 +759,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
morehelp = 0;
|
morehelp = 0;
|
||||||
|
|
||||||
printf("\nspeaker-test %s\n\n", SPEAKER_TEST_VERSION);
|
printf("\nspeaker-test %s\n\n", SND_UTIL_VERSION_STR);
|
||||||
while (1) {
|
while (1) {
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue