Paulo Matias wrote:
> Hi,
>
> This patch adds support for Si3055 and compatible softmodems.
>
> NOTE: This patch depends on the previous "[PATCH] [FIX] oss_hdaudio
> stream numbers fix".
>
>   
Many thanks. Both patches are now in the v4.2 hg version.
> Nearly all the code included to oss_hdaudio in this patch is Si3055
> specific. It consists of Si3055 specific modem initialization and
> Si3055 specific GPIO registers handling.
>
> Almost all the HDAudio modems sold today are Si3055 compatible or
> Conexant modems. This patch implements the Si3055 ones. Conexant
> modems should require a completely different initialization procedure
> and are not supported by now, but I'm willing to write a driver if I
> get the hardware and the time.
>
> This patch also adds a new tool, namely "ossphone". This tool is
> intended to allow the user to easily use the softmodem as a phone,
> connecting it to the computer audio input and output. It also allows
> to dial phone numbers.
>
> There is still an issue with ossphone I would like help to fix - if
> the user requests to dial a phone number, the subsequent call gets too
> much latency. It's around 1.3 seconds from speaking and hearing your
> voice back. If no number is dialed, then there is almost no latency
> issue. It could be fixed by closing the devices after dialing and
> reopening them, or by calling ioctl SNDCTL_DSP_HALT, but I would like
> some advice. Is there a better fix?
>   
One fix might be using SNDCTL_DSP_GETISPACE to find how many bytes are 
present in the input buffer. Then read all of them but throw away all 
but the last ones you are interested about (sizeof(buf)).

Best regards,

Hannu

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to