Re: [ecasound] audioio-oss.cpp patch

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] audioio-oss.cpp patch
From: Kai Vehmanen (kvehmanen_AT_eca.cx)
Date: Fri Nov 12 2004 - 03:54:41 EET


Hello,

On Fri, 29 Oct 2004, raoul.megelas wrote:
> libecasound/audioio-oss.cpp.
> The oss doc says that the solded OSS driver
> accepts only one fragment_size.
[...]
> - if (::ioctl(audio_fd, SNDCTL_DSP_GETBLKSIZE, &fragment_size) == -1)
> + if (::ioctl(audio_fd, SNDCTL_DSP_GETBLKSIZE, &fragment_size) == !1)
> throw(SETUP_ERROR(SETUP_ERROR::buffersize, "AUDIOIO-OSS: general OSS error SNDCTL_DSP_GETBLKSIZE"));

this is fixed in CVS (and in upcoming 2.3.5 release). Ecasound will now
just print a warning if GETBLKSIZE fails. The above patch would make
ecasound unusable with other OSS drivers, so I couldn't apply it in this
form.

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Nov 12 2004 - 03:54:18 EET