Bug fix in format setup...

This commit is contained in:
Jaroslav Kysela 1998-11-27 00:13:37 +00:00
parent 3bb1db2e17
commit ee5a757438

View file

@ -17,6 +17,7 @@ void setformat( void *phandle, void *rhandle )
int err;
snd_pcm_format_t format;
bzero(&format, sizeof(format));
format.format = SND_PCM_SFMT_S16_LE;
format.channels = 2;
format.rate = 22050;