[alsa-devel] snd_pcm_writei error 128 Key has been revoked

Paulos Siahu psiahu at gmail.com
Sun Sep 7 00:01:21 CEST 2008


I'm a newbie to ALSA, in fact to sound programming at all. I tried a simple
program for a beginner. When I got to this line:

        err = snd_pcm_writei (playback_handle, buf, bufsize);
        printf("Playing Error: %d %s\n", err, snd_strerror(err));

the first time it played the sound that I wanted then I Ctrl-C the app. From
then on, every time I run the program it gives me: Playing Error: 128 Key
has been revoked

I tried to google around but no luck.
Hope someone can  help.

Paulos Siahu

More information about the Alsa-devel mailing list