From: Christian Konrad Subject: error: broken pipe Date: Sat, 14 May 2005 18:53:43 +0200 Message-ID: <1116089623.8003.2.camel@latitude> Reply-To: konrad@in.tum.de Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi! what exactly does this error mean? This is just a sine-genrator and it uses the following code: while( (pcmreturn = snd_pcm_writei(pcm_handle, data, frames)) < 0) { switch(pcmreturn) { case EBADFD: cout << "EBADFD" << endl; break; case EPIPE: cout << "Buffer underrun." << endl; break; case ESTRPIPE: cout << "suspend. " << endl; break; default: cout << snd_strerror(pcmreturn) << endl; } snd_pcm_prepare(pcm_handle); } The only error I get is broken pipe (returned by snd_strerror). Thank you a lot. Christian ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click