changed detection of "alsa:" and "wav:" prefix with detection of

"hw:" / "plughw:" prefix, ".wav" suffix and "default" alsa device
This commit is contained in:
Ahmet Inan 2011-09-08 10:59:00 +02:00
parent 15b01cf36c
commit 1f1e44fbcc
4 changed files with 12 additions and 10 deletions

View file

@ -245,7 +245,7 @@ char *string_time(char *fmt)
int main(int argc, char **argv)
{
pcm_t *pcm;
char *name = "alsa:default";
char *name = "default";
if (argc != 1)
name = argv[1];