[Alsa-devel] Problem with underrun and overrun

2003-07-07 Thread mahendra sp
hi, This is regarding UNDERRUN and OVERRUN. I want to know how to come out of Underrun and Overrun in case of full duplex. In my application, its giving underun (playback) ans overrun(capture) for client and server program. How to overcome them?Is it sufficient to call snd_pcm_prepare(han

[Alsa-devel] Playback underrun

2003-07-05 Thread mahendra sp
hi, i am using alsa0.9.4 i have written an application which works fine .but there is buffer underun problem .but it corrects itself after some time. i ant to overcome this problem. please help. i am here by attaching the program for verification. i am setting : #define PERIODSIZE 512 #d

[Alsa-devel] Playback underrun

2003-07-05 Thread mahendra sp
hi, i am using alsa0.9.4 i have written an application which works fine .but there is buffer underun problem .but it corrects itself after some time. i ant to overcome this problem. please help. i am here by attaching the program for verification. i am setting : #define PERIODSIZE 512 #d

[Alsa-devel] Playback underrun

2003-07-05 Thread mahendra sp
hi, i am using alsa0.9.4 i have written an application which works fine .but there is buffer underun problem .but it corrects itself after some time. i ant to overcome this problem. please help. i am here by attaching the program for verification. i am setting : #define PERIODSIZE 512 #d

[Alsa-devel] assertion error for playback

2003-07-03 Thread mahendra sp
hi, my appliation for full duplex is giving "assertion failed for writei." why is this error? help, mahendra ___ Click below to experience Sooraj R Barjatya's latest offering 'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek & Kareena http://www.

[Alsa-devel] problem with MU -LAW

2003-06-30 Thread mahendra sp
hi, alsa people, I have wriiten the application which realises full duplex.But there is playback buffer underrun proble. The buffer tries to read the value but -ve value. After writink the -ve value for some timesay 3 minutes, it becomes alright. again after some time buffer under run occur

[Alsa-devel] Alsa Fullduplex and VoIP

2003-06-23 Thread mahendra sp
hi, this is the program which is a improved version of program written by whicxh was posred in this mail.So , this program transfers Voice over IP. but There is no synchronisation. Can any body tell solutio for these issues: 1. How to make server which is actiong as a playback program waits

[Alsa-devel] Alsa application problem

2003-06-19 Thread mahendra sp
hi, I have altered the program latency.c to for full duplex mode. but its giving "broken pipe" error. can anybody tell the reason? is it really necesory to set swparameters? To Jaroslev: hi, i am in need of sipmle application to read and write(full duplex). I am a student. and this is my

[Alsa-devel] About latency.c of ALSA lib 0.9.1 package

2003-06-18 Thread mahendra sp
hi, latency .c program in ALSA-LIB -0.9.1 is working fine for full duplex. Can any body tell how to reduce it to just full duplex which does not measure latency.I want to make it very simple. just to read and play. i want help. please , as i am new to linux and alsa ALSA. thanks, mah

[Alsa-devel] regarding alsa lib package

2003-06-17 Thread mahendra sp
hi, problem 1: i am using alsa driver for my ES 1938 sound card. soundcard supports full duplex. I got a program for full duplex "pcm.c" from alsa lib 0.5.1 package.but i m using alsa 0.9.1 package. When i executed the program typing gcc -o pcm.out pcm.c -lasound it gave some error which

[Alsa-devel] Regarding ALSA lib0.5

2003-06-17 Thread mahendra sp
hi, i am using alsa driver for my ES 1938 sound card. soundcard supports full duplex. I got a program for full duplex "pcm.c" from alsa lib 0.5.0 package. but i m using alsa 0.9.1 package. When i executed the program typing gcc -o pcm.out pcm.c -lasound it gave some error which reads