Reverted back the PCM API.

New snd_pcm_hw_params_* functions are available only explicitly when
ALSA_PCM_NEW_HW_PARAMS_API is defined.
Updated documentation and test code to new API.
This commit is contained in:
Jaroslav Kysela 2002-09-19 16:12:13 +00:00
parent ec415ef3a9
commit 7f3942d827
15 changed files with 528 additions and 65 deletions

View file

@ -8,6 +8,7 @@
#include <sched.h>
#include <errno.h>
#include <getopt.h>
#define ALSA_PCM_NEW_HW_PARAMS_API
#include "../include/asoundlib.h"
#include <sys/time.h>
#include <math.h>