From owner-freebsd-multimedia Sun Mar 15 13:34:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03527 for freebsd-multimedia-outgoing; Sun, 15 Mar 1998 13:34:41 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA03450 for ; Sun, 15 Mar 1998 13:34:24 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA18613; Sun, 15 Mar 1998 21:06:37 +0100 From: Luigi Rizzo Message-Id: <199803152006.VAA18613@labinfo.iet.unipi.it> Subject: Re: where is a good listing for the sound IOCTLs? To: perlsta@cs.sunyit.edu (Alfred Perlstein) Date: Sun, 15 Mar 1998 21:06:36 +0100 (MET) Cc: multimedia@FreeBSD.ORG In-Reply-To: <001b01bd5047$2f099860$0600a8c0@win95.local.sunyit.edu> from "Alfred Perlstein" at Mar 15, 98 02:18:29 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > can anyone point me to a good reference to the sound ioctls? > (i've looked at soundcard.h OUCH!) try /sys/i386/isa/snd/sound.c -- at least there you see the implementation of the audio ioctls which might give some better idea... > i'm trying to set the recording source and i don't want to use OSS calls > unless abosolutely nessesary... i need to know how to set it to LINE or > perhaps to mix them by setting it to LINE+CD+MIC. of course you'll need the OSS calls, since that's the API we have (at least for mixer setting...) i suggest you look at the sources of "mixer" (/usr/src/usr.sbin/mixer) cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message