Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 1999 12:06:15 -0800 (PST)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        multimedia@freebsd.org
Subject:   SNDCTL_DSP_GETODELAY
Message-ID:  <Pine.BSF.4.21.9911241151520.4557-100000@fw.wintelcom.net>

next in thread | raw e-mail | index | archive | help

A few linux apps are using SNDCTL_DSP_GETODELAY.

I investigated whether is was just an ommision in the Linuxlator
however it seems we don't support it.

OSS doesn't have it in thier documented API but yet people running
OSS on linux don't have any problems.

It's basically a function that returns the 'bytes' field of
struct count_info minus what seems to be the total amount
of data processed since the last dma 'reset'.

ioctl_ret = total_processed - count_info->bytes

from SNDCTL_DSP_GETOPTR -----------^^^^^^^^

It also seems to be a somewhat lame ioctl since that
information should be easy to track from userland. *grumble*

I'm nowhere close to being a sound guru, this is what I understand
from reading through linux sources.

thanks,
-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9911241151520.4557-100000>