mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Bug fix in format setup...
This commit is contained in:
parent
3bb1db2e17
commit
ee5a757438
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue