Subject: Re: [linux-audio-dev] Another Annoying "How Do I Get Started" Question
From: reine_AT_music-corner.org
Date: Sun Jul 08 2001 - 11:41:19 EEST
On 7 Jul, Greg Berchin wrote:
> reine_AT_music-corner.org wrote:
>
>>Here are three functions that i use in my
>>little mixbas program.
>
> Thank you. I notice that you simply "open" /dev/dsp as write-only.
> Farther down I see that you used "ioctl" -- I've never seen that function
> before. What does it do? THIS is the kind of information that I am
> seeking.
In "man ioctl" we can read:
The ioctl function manipulates the underlying device
parameters of special files. In particular, many operat
ing characteristics of character special files (e.g. ter
minals) may be controlled with ioctl requests. The argu
ment d must be an open file descriptor.
At http://www.4front-tech.com/pguide/index.html i found OSS
Programmer's guide.
Please correct me if i'm wrong. OSS is what currently is used
in the linux-kernel. There is a new thing called ALSA
http://www.alsa-project.org/ that does not have certain limitiations
that OSS has.
ALSA may replace OSS in the kernel in a near? future.
ALSA is used by many linux audio programmers.
How do I access all of the channels of my Hoontech DSP24 II? To
> what devices are they mapped under Linux? How do I vector an interrupt to
> call my routines when a new set of samples comes in, every 1/44100 or
> 1/48000 or 1/96000 second? Etc.
>
> Is there a resource available somewhere that contains this information?
> Can someone recommend a book? (I'm from the old school. I like books with
> pages that I can scribble notes on and mark with sticky pads.)
>
> Many thanks,
> Greg Berchin
Reine
New emailaddress: reine_AT_music-corner.org
New URL to webpage: http://www.music-corner.org
This archive was generated by hypermail 2b28 : Sun Jul 08 2001 - 05:31:20 EEST