Hello,
 
    I have Sound Blaster Audigy SE and when a launch this code, my buffer is
2046.
 
Can you test this for me and you return your SizeBuffer ? 
 
Because i think that my buffer it's too small.
 

Regards
 
 
 
 
 
---- File SizeBuffer.c -----
#include <sys/soundcard.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
 
int main () {
int faudio;
int err;
audio_buf_info info;
faudio = open( "/dev/audio", O_WRONLY );
err=ioctl( faudio, SNDCTL_DSP_GETOSPACE, &info);
printf("bytes %d err : %d faudio: %x \n", info.bytes,err,faudio );
return 0;
} 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to