[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-sound
Subject: Re: which is preferred interface: SOUND_PCM... or SNDCTL_DSP... ?
From: Hannu Savolainen <hannu () opensound ! com>
Date: 2000-06-27 21:49:23
[Download RAW message or body]
On Tue, 27 Jun 2000, Britton wrote:
>
> I was under the impression that the SOUND_PCM ioctls were now preferred,
> but I don't see any equivalent for SNDCTL_DSP_GETBLKSIZE. Am I just
> missing it or is the old format still used for some things (or am I
> confused which is the old format)?
The SOUND_PCM ioctls are completely obsolete and they exist only to
provide compatibility with some older applications. Use the SNDCTL_ ones
instead.
The OSS Programmer's Guide is available at http://www.opensound.com/pguide
and it documents all supported ioctl calls.
Best regards,
Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic