Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Sep 2001 20:08:56 -0500
From:      Jim Bryant <kc5vdj@yahoo.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, Julian Elischer <julian@elischer.org>, current@FreeBSD.org
Subject:   Re: trying to play sound in -current
Message-ID:  <3B957B28.2000506@yahoo.com>
References:  <XFMail.010904163554.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B957B28.2000506>