Re: enable aucat by default

2011-10-11 Thread Anthony J. Bentley
Hi Alexandre, On Mon, Oct 10, 2011 at 11:29 AM, Alexandre Ratchov a...@caoua.org wrote: On Mon, Oct 10, 2011 at 11:16:21AM -0600, Anthony J. Bentley wrote: My only issue with aucat is a noticeable lag for real-time applications like games, even when running with a small buffer size as per FAQ

Re: enable aucat by default

2011-10-10 Thread Steven
Playing two folders of music in mplayer, watching a video on youtube in Firefox/Gnash, watching a video on smplayer and listening to a cd using cdio cdplay. YT video skips a bit, but that may just be due to Gnash overhead and possibly download speed. Everything else works smoothly using the

Re: enable aucat by default

2011-10-10 Thread David Coppa
On Mon, Oct 10, 2011 at 4:07 PM, Steven w.steven.schnei...@ualberta.net wrote: YT video skips a bit, but that may just be due to Gnash overhead and possibly download speed. Everything else works smoothly using the start by default settings. It's gnash for sure ;-) ciao, David

Re: enable aucat by default

2011-10-10 Thread Steven
* David Coppa dco...@gmail.com [111010 08:15]: On Mon, Oct 10, 2011 at 4:07 PM, Steven w.steven.schnei...@ualberta.net wrote: YT video skips a bit, but that may just be due to Gnash overhead and possibly download speed. Everything else works smoothly using the start by default settings.

Re: enable aucat by default

2011-10-10 Thread Alexandre Ratchov
On Mon, Oct 10, 2011 at 11:16:21AM -0600, Anthony J. Bentley wrote: My only issue with aucat is a noticeable lag for real-time applications like games, even when running with a small buffer size as per FAQ 13.5. This should be fixed by the cleanup diff I posted few days ago, isn't it? If

Re: enable aucat by default

2011-10-09 Thread Simone Basso
If none, I'd like we start using aucat and run our favourite audio applications. I'm interested mostly in regressions, ie ports working worse (or not at all) when aucat is running. Works for me: plays songs concurrently and smoothly. Tested with firefox, ffplay and totem on -current i386.

Re: enable aucat by default

2011-10-08 Thread Loganaden Velvindron
I tested aucat by enabling it as you said. mplayer does not break, and best of all, the intermittent garbling seems to have stopped. I can even launch seamonkey (firefox isn't built yet ?) and I don't experience any sort of garbling. I can do cool things like having 2 mplayer sessions at the

Re: enable aucat by default

2011-10-07 Thread Alexandre Ratchov
On Thu, Oct 06, 2011 at 05:04:03PM -0700, patrick keshishian wrote: Or do you argue that it doesn't matter running it even where it is not needed? Somewhat yes, if there are no audio devices or no audio program is run, aucat does nothing and shouldn't hurt. yuck... sounds like

Re: enable aucat by default

2011-10-07 Thread Jona Joachim
On 2011-10-07, Alexandre Ratchov a...@caoua.org wrote: On Thu, Oct 06, 2011 at 05:04:03PM -0700, patrick keshishian wrote: Or do you argue that it doesn't matter running it even where it is not needed? Somewhat yes, if there are no audio devices or no audio program is run, aucat

Re: enable aucat by default

2011-10-07 Thread Henning Brauer
* Jona Joachim j...@hcl-club.lu [2011-10-07 12:06]: Do you want to start sshd by default? [Y/n] Do you want to start aucat by default? [Y/n] yeah right. what an awesome installer! Do you want to start atactl by default? [Y/n] Do you want to start badsect by default? [Y/n] Do you want to start

Re: enable aucat by default

2011-10-07 Thread Marc Espie
On Thu, Oct 06, 2011 at 05:04:03PM -0700, patrick keshishian wrote: yuck... sounds like linux to me. please don't go down that route of enable everything, it can't hurt even if you don't use it mentality. In a wide difference to linux, we try to avoid running buggy shit on the system by

Re: enable aucat by default

2011-10-07 Thread David Vasek
On Fri, 7 Oct 2011, Henning Brauer wrote: * Jona Joachim j...@hcl-club.lu [2011-10-07 12:06]: Do you want to start sshd by default? [Y/n] Do you want to start aucat by default? [Y/n] yeah right. what an awesome installer! Do you want to start atactl by default? [Y/n] Do you want to start

Re: enable aucat by default

2011-10-07 Thread Stuart Henderson
On 2011/10/06 22:36, Alexandre Ratchov wrote: sorry, my diff is wrong.. I forgot the '-aoff' in the diff, but -aoff will become the default soon (this is to keep the device closed when not used). Without -a off behaviour I would object to this, but this clears up all the usability problems

Re: enable aucat by default

2011-10-07 Thread Matthieu Herrb
On Thu, Oct 06, 2011 at 04:01:53PM -0600, Theo de Raadt wrote: So I'm not convinced we should enable aucat unconditionally. Wouldn't it make some sense to enable aucat on systems that run X? Hmmm, why not? I'm not against turning audio off in certain situations (servers,

Re: enable aucat by default

2011-10-07 Thread Marc Espie
It doesn't *belong* in X. I want to be able to get proper sound from the console, even if I don't run X.

Re: enable aucat by default

2011-10-07 Thread Henning Brauer
* Marc Espie es...@nerim.net [2011-10-07 14:14]: It doesn't *belong* in X. I want to be able to get proper sound from the console, even if I don't run X. doesn't it really come down to workstation vs server use? for a default, having aucat running if you run X makes sense to me. if you want

Re: enable aucat by default

2011-10-07 Thread Marc Espie
On Fri, Oct 07, 2011 at 02:17:19PM +0200, Henning Brauer wrote: * Marc Espie es...@nerim.net [2011-10-07 14:14]: It doesn't *belong* in X. I want to be able to get proper sound from the console, even if I don't run X. doesn't it really come down to workstation vs server use? for a

Re: enable aucat by default

2011-10-07 Thread Mark Kettenis
Date: Fri, 7 Oct 2011 14:17:19 +0200 From: Henning Brauer lists-openbsdt...@bsws.de * Marc Espie es...@nerim.net [2011-10-07 14:14]: It doesn't *belong* in X. I want to be able to get proper sound from the console, even if I don't run X. doesn't it really come down to workstation

Re: enable aucat by default

2011-10-07 Thread Alexandre Ratchov
On Fri, Oct 07, 2011 at 02:35:47PM +0200, Mark Kettenis wrote: Date: Fri, 7 Oct 2011 14:17:19 +0200 From: Henning Brauer lists-openbsdt...@bsws.de * Marc Espie es...@nerim.net [2011-10-07 14:14]: It doesn't *belong* in X. I want to be able to get proper sound from the console,

Re: enable aucat by default

2011-10-07 Thread Mike Pursifull
This is beginning to seem strange to me. OpenBSD has always had an off by default philosophy, a quality I have relied on since before 1998. It takes little effort to enable aucat. Yes, it also takes little effort to disable it, however, unless (almost) everyone needs it, the approach has been to

Re: enable aucat by default

2011-10-07 Thread Alexandre Ratchov
On Fri, Oct 07, 2011 at 12:57:08PM +0200, Marc Espie wrote: On Thu, Oct 06, 2011 at 05:04:03PM -0700, patrick keshishian wrote: yuck... sounds like linux to me. please don't go down that route of enable everything, it can't hurt even if you don't use it mentality. In a wide difference to

Re: enable aucat by default

2011-10-07 Thread Loganaden Velvindron
I think it should be enabled in the installer similar to X11. aucat follows a sane design and more importantly, it could help to improve buggy audio apps in ports. I noticed some weird behaviour in mplayer when it comes to sound playback. If it causes too much audio app breakage, it can be

Re: enable aucat by default

2011-10-07 Thread Jona Joachim
On 2011-10-07, Henning Brauer lists-openbsdt...@bsws.de wrote: * Jona Joachim j...@hcl-club.lu [2011-10-07 12:06]: Do you want to start sshd by default? [Y/n] Do you want to start aucat by default? [Y/n] yeah right. what an awesome installer! Do you want to start atactl by default? [Y/n]

Re: enable aucat by default

2011-10-07 Thread Theo de Raadt
aucat is similar to X11 in this regard: necessary for a desktop, useless on a server. Except you are wrong. For instance, my audio box has no display. aucat as a daemon is an intragral back-end to a library which more and more audio programs will be linked to, and those things need to move to

Re: enable aucat by default

2011-10-07 Thread Kevin Chadwick
On Fri, 07 Oct 2011 10:35:27 -0600 Theo de Raadt wrote: The plan is to gut the direct device code-paths substantially, and stop trying to perform magic two ways. The direct-device methods will continue to work, but only as minimally as they did 10 years ago. Even better, a simpler audio

Re: enable aucat by default

2011-10-07 Thread Theo de Raadt
What about, turn on for X and have to manually enable otherwise. And precisely how do you do that?

Re: enable aucat by default

2011-10-07 Thread Alexey E. Suslikov
Jona Joachim jaj at hcl-club.lu writes: On 2011-10-07, Henning Brauer lists-openbsdtech at bsws.de wrote: * Jona Joachim jaj at hcl-club.lu [2011-10-07 12:06]: Do you want to start sshd by default? [Y/n] Do you want to start aucat by default? [Y/n] yeah right. what an awesome

Re: enable aucat by default

2011-10-07 Thread David Coppa
On Fri, Oct 7, 2011 at 8:24 PM, Alexey E. Suslikov alexey.susli...@gmail.com wrote: Either audioctl or mixerctl, which both return Device not configured if no audio device is present, can be used by aucat rc.d script to detect speechless setups. I like this idea. ciao, David P.S.: I'm also

Re: enable aucat by default

2011-10-07 Thread Vadim Zhukov
2011/10/7 Alexey E. Suslikov alexey.susli...@gmail.com: Jona Joachim jaj at hcl-club.lu writes: On 2011-10-07, Henning Brauer lists-openbsdtech at bsws.de wrote: * Jona Joachim jaj at hcl-club.lu [2011-10-07 12:06]: Do you want to start sshd by default? [Y/n] Do you want to start aucat

Re: enable aucat by default

2011-10-07 Thread Theo de Raadt
Either audioctl or mixerctl, which both return Device not configured if no audio device is present, can be used by aucat rc.d script to detect speechless setups. Until a hotplug one is put in, and doesn't work. You guys just are not thinking.

Re: enable aucat by default

2011-10-07 Thread Alexey E. Suslikov
Vadim Zhukov persgray at gmail.com writes: 2011/10/7 Alexey E. Suslikov alexey.suslikov at gmail.com: Either audioctl or mixerctl, which both return Device not configured if no audio device is present, can be used by aucat rc.d script to detect speechless setups. Still will not work

Re: enable aucat by default

2011-10-07 Thread Brynet
I think if anything this strengthens the need for MD-specific rc scripts, for platforms with absolutely no audio support, at all, no PCI bus, no USB bus, and no fancy i2c audio controllers. Don't enable aucat + libsndio + audio(4). On every other supported platform, enable audio, including

Re: enable aucat by default

2011-10-07 Thread Theo de Raadt
I think if anything this strengthens the need for MD-specific rc scripts, for platforms with absolutely no audio support, at all, no PCI bus, no USB bus, and no fancy i2c audio controllers. Don't enable aucat + libsndio + audio(4). Really! Which of our platforms have no audio support at

Re: enable aucat by default

2011-10-07 Thread Alexey E. Suslikov
Theo de Raadt deraadt at cvs.openbsd.org writes: Either audioctl or mixerctl, which both return Device not configured if no audio device is present, can be used by aucat rc.d script to detect speechless setups. Until a hotplug one is put in, and doesn't work. Is it feasible for aucat

Re: enable aucat by default

2011-10-07 Thread Brynet
On Fri, Oct 07, 2011 at 01:35:49PM -0600, Theo de Raadt wrote: Really! Which of our platforms have no audio support at all? Can you list them? That part was for effect, I was really hoping none existed. :-) -Bryan.

Re: enable aucat by default

2011-10-07 Thread Miod Vallat
Really! Which of our platforms have no audio support at all? Can you list them? That part was for effect, I was really hoping none existed. :-) I'm afraid your hopes are about to get shattered. There is no audio capabilities on the following platforms: hp300 - until ISA interrupts

Re: enable aucat by default

2011-10-07 Thread Jona Joachim
On Fri, Oct 07, 2011 at 10:35:27AM -0600, Theo de Raadt wrote: aucat is similar to X11 in this regard: necessary for a desktop, useless on a server. Except you are wrong. For instance, my audio box has no display. aucat as a daemon is an intragral back-end to a library which more and

Re: enable aucat by default

2011-10-07 Thread Paul de Weerd
On Fri, Oct 07, 2011 at 11:46:19PM +0200, Jona Joachim wrote: | There was a debate on whether it's good or not to enable aucat by | default. I just put forth the idea that maybe you could let the user | decide. You don't like the idea? Fine. What are you talking about ? The user still gets to

Re: enable aucat by default

2011-10-06 Thread Ingo Schwarze
Hi Alexandre, Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: On the one hand, we expect audio to work by default. On the other hand format conversions, channel mapping, resampling and alike belong to the audio sub-system; until 2009, this used to be the audio(4) driver

Re: enable aucat by default

2011-10-06 Thread Paul de Weerd
On Thu, Oct 06, 2011 at 08:58:16PM +0200, Ingo Schwarze wrote: | Hi Alexandre, | | Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: | | On the one hand, we expect audio to work by default. On the other hand | format conversions, channel mapping, resampling and alike belong to

Re: enable aucat by default

2011-10-06 Thread Alexandre Ratchov
On Thu, Oct 06, 2011 at 08:58:16PM +0200, Ingo Schwarze wrote: Hi Alexandre, Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: On the one hand, we expect audio to work by default. On the other hand format conversions, channel mapping, resampling and alike belong to the

Re: enable aucat by default

2011-10-06 Thread Alexandre Ratchov
On Thu, Oct 06, 2011 at 10:10:10PM +0200, Paul de Weerd wrote: On Thu, Oct 06, 2011 at 08:58:16PM +0200, Ingo Schwarze wrote: | Hi Alexandre, | | Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: | | On the one hand, we expect audio to work by default. On the other hand |

Re: enable aucat by default

2011-10-06 Thread Christiano F. Haesbaert
On 6 October 2011 17:26, Alexandre Ratchov a...@caoua.org wrote: On Thu, Oct 06, 2011 at 08:58:16PM +0200, Ingo Schwarze wrote: Hi Alexandre, Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: On the one hand, we expect audio to work by default. On the other hand format

Re: enable aucat by default

2011-10-06 Thread Mark Kettenis
On Thu, Oct 06, 2011 at 08:58:16PM +0200, Ingo Schwarze wrote: | Hi Alexandre, | | Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: | | On the one hand, we expect audio to work by default. On the other hand | format conversions, channel mapping, resampling and alike

Re: enable aucat by default

2011-10-06 Thread Paul de Weerd
On Thu, Oct 06, 2011 at 11:05:34PM +0200, Mark Kettenis wrote: Mark counters my objections Mark, you make very valid points - my comments were more in the 'food for thought' department: we run deamons by default while some are never used by certain users. Doesn't harm them. | But I like the

Re: enable aucat by default

2011-10-06 Thread Alexandre Ratchov
On Thu, Oct 06, 2011 at 11:05:34PM +0200, Mark Kettenis wrote: It would be nice if aucat didn't start when there was no sound hardware. And it doesn't: [weerd@despair] $ sudo aucat -l -fsun:0 aucat: sun:0: can't open device sun:0: failed to open audio device So your

Re: enable aucat by default

2011-10-06 Thread Theo de Raadt
So I'm not convinced we should enable aucat unconditionally. Wouldn't it make some sense to enable aucat on systems that run X? Hmmm, why not? I'm not against turning audio off in certain situations (servers, whatever). IMO the important point is aucat to be always running when audio

Re: enable aucat by default

2011-10-06 Thread Henning Brauer
* Mark Kettenis mark.kette...@xs4all.nl [2011-10-06 23:06]: Only if it is a proper server ;) Most i386/amd64 servers do have sound hardware. huh? either your defintion of server hardware is weird or my servers are. on pflog, that gets only started if pf is enabled and then it is in the same

Re: enable aucat by default

2011-10-06 Thread patrick keshishian
On Thu, Oct 6, 2011 at 1:26 PM, Alexandre Ratchov a...@caoua.org wrote: On Thu, Oct 06, 2011 at 08:58:16PM +0200, Ingo Schwarze wrote: Hi Alexandre, Alexandre Ratchov wrote on Thu, Oct 06, 2011 at 08:29:26PM +0200: On the one hand, we expect audio to work by default. On the other hand