Re: [linux-audio-dev] alsa/usb

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

Subject: Re: [linux-audio-dev] alsa/usb
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Thu Jan 17 2002 - 20:00:16 EET


On Thu, 17 Jan 2002, Paul Davis wrote:

>> What's going to happen with usb audio/midi support ?
>> Since alsa should become the kernel standard driver for audio/midi/seq
>> devices and all the work the usb people have done to support the audio
>> class is based on the oss-api does that mean with 2.5 or 2.6 I'll no
> since the POSIX API is used, there's no way to route around this
> (without LD_PRELOAD anyway). so my question is: are these drivers
> actually part of OSS/Free (i.e. .../src/linux/drivers/char/sound), or

At least the driver handling the standard USB Audio Device Class is
located in the USB kernel directory, ie. linux/drivers/usb. All code is in
the big (~4000loc) audio.c file. It implements the OSS ioctls, plus
OSS-style mmap() (and of course read()/write()).

But it does register itself to the OSS subsystem (to
drivers/sound/sound_core.c) like all other sound drivers, so it _is_ part
of OSS. But basicly if ALSA provides (does it?) the soundcore services
(combined with ALSA's own OSS-emulation layer) you should be able to
continue to use the USB drivers. Oh well, let's cc this to alsa-devel..

-- 
 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 : Thu Jan 17 2002 - 19:55:27 EET