From owner-freebsd-current Tue Sep 4 18: 9: 2 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by hub.freebsd.org (Postfix) with SMTP id DE5EB37B40B for ; Tue, 4 Sep 2001 18:08:58 -0700 (PDT) Received: from mkc-65-31-219-45.kc.rr.com (HELO yahoo.com) (65.31.219.45) by smtp.mail.vip.sc5.yahoo.com with SMTP; 5 Sep 2001 01:08:57 -0000 X-Apparently-From: Message-ID: <3B957B28.2000506@yahoo.com> Date: Tue, 04 Sep 2001 20:08:56 -0500 From: Jim Bryant Reply-To: kc5vdj@yahoo.com User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: John Baldwin Cc: "David W. Chapman Jr." , Julian Elischer , current@FreeBSD.org Subject: Re: trying to play sound in -current References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin wrote: > On 04-Sep-01 David W. Chapman Jr. wrote: > >>On Tue, Sep 04, 2001 at 09:40:44AM -0700, John Baldwin wrote: >> >>>In fact, am doing so right now inside of KDE (with arts or whatever their >>>sound >>>daemon is called also running). Granted, it sounds rather weird. :-P >>> >>> 915 john -8 0 5236K 900K pcmwr 0:01 1.66% 1.51% mpg123 >>> 914 john -8 0 4336K 912K pcmwr 0:01 1.64% 1.51% mpg123 >>> >>> >>>>sysctl hw.snd >>>> >>>hw.snd.verbose: 0 >>>hw.snd.unit: 0 >>>hw.snd.autovchans: 0 >>>hw.snd.maxvchans: 0 >>>hw.snd.pcm0.vchans: 0 >>>hw.snd.pcm0.hwvol_step: 5 >>>hw.snd.pcm0.hwvol_mixer: vol >>> >>> >>If everything is using artsd then that may be the reason. My problem >>was I had apps using esound, artsd and them vmware directly talking >>to dsp. But this is only from what I gather, not from knowledge. >> > > Note the mpg123 processes. They are in pcmwr, i.e. writing to /dev/dsp > directly and not going through artsd. I haven't looked at the code, but does a value of 0 for vchans mean infinite, I know this is a standard use for the value of zero in some instances... The other guy's was set to 1, raising it fixed his problem. Yours works with multiple opens with a value of zero. jim -- ET has one helluva sense of humor! He's always anal-probing right-wing schizos! -------------------------------------------- POWER TO THE PEOPLE! _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message