Re: Only one headphone jack working - good or bad?

2009-01-07 Thread Thomas Pfaff
On Tue, 6 Jan 2009 21:29:37 +
Jacob Meuser jake...@sdf.lonestar.org wrote:

 this was deep into another thread, so I'm reposting so it will be seen
 by more people (hopefully).
 
 so azalia users please let your voice be heard.  would you find it annoying
 when playing *only* mono or stereo to have all outputs play the audio,
 or would you like that?


I think it should play on all speakers.  At least mono streams should
play on both speakers.  Right now aucat plays mono streams on only one
speaker, which I find slightly annoying (SoX plays on both, however it
plays at the wrong speed -- I intend to look into this later).  If mono
streams plays on both (or all) speakers, then so should stereo streams.



Re: Only one headphone jack working - good or bad?

2009-01-07 Thread Jacob Meuser
On Wed, Jan 07, 2009 at 06:06:41PM +0100, Thomas Pfaff wrote:
 On Tue, 6 Jan 2009 21:29:37 +
 Jacob Meuser jake...@sdf.lonestar.org wrote:
 
  this was deep into another thread, so I'm reposting so it will be seen
  by more people (hopefully).
  
  so azalia users please let your voice be heard.  would you find it annoying
  when playing *only* mono or stereo to have all outputs play the audio,
  or would you like that?
 
 
 I think it should play on all speakers.  At least mono streams should
 play on both speakers.  Right now aucat plays mono streams on only one
 speaker, which I find slightly annoying (SoX plays on both, however it
 plays at the wrong speed -- I intend to look into this later).  If mono
 streams plays on both (or all) speakers, then so should stereo streams.
 

copying the mono stream to both channels is not going to happen.

primarily because mono is really stereo in azalia.  mono is emulated,
and we need mono emulation for most voip applications.

it would be a lot of work and is very likely to cause problems, and I
really don't see the benefit.

I think, if this were a real issue, there'd be a way to do this in the
hardware.  some widgets alow l-r swap, but there is no emulate stereo
from mono functionality.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Martin Toft
On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
 so azalia users please let your voice be heard.  would you find it
 annoying when playing *only* mono or stereo to have all outputs play
 the audio, or would you like that?

Please excuse me if I have interpreted the question wrongly. I would
like to (continue to) have the possibility to mute my laptop's speakers
while using headphones. Otherwise other passengers are forced to listen
to my music when I use the laptop as a portable music player on a bus or
train.

Thanks for all your work!

Martin



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
 this was deep into another thread, so I'm reposting so it will be seen
 by more people (hopefully).
 
 so azalia users please let your voice be heard.  would you find it annoying
 when playing *only* mono or stereo to have all outputs play the audio,
 or would you like that?

let me clarify a little.  the output jacks would still be mutable as
they are now, but they would be getting the mono or stereo stream.

I can see this being both useful and also annoying, so I'm asking what
others' opinions are.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Ted Unangst
On Tue, Jan 6, 2009 at 4:39 PM, Jacob Meuser jake...@sdf.lonestar.org wrote:
 On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
 this was deep into another thread, so I'm reposting so it will be seen
 by more people (hopefully).

 so azalia users please let your voice be heard.  would you find it annoying
 when playing *only* mono or stereo to have all outputs play the audio,
 or would you like that?

 let me clarify a little.  the output jacks would still be mutable as
 they are now, but they would be getting the mono or stereo stream.

I'd find it surprising that suddenly playing something on the back
channels changes where front channel audio goes.  This does not match
my experience with other stereo equipment, where one must always
request 4 or 6 channel stereo.



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Vadim Zhukov
On 7 January 2009 c. 00:39:58 Jacob Meuser wrote:
 On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
  this was deep into another thread, so I'm reposting so it will be
  seen by more people (hopefully).
 
  so azalia users please let your voice be heard.  would you find it
  annoying when playing *only* mono or stereo to have all outputs play
  the audio, or would you like that?

 let me clarify a little.  the output jacks would still be mutable as
 they are now, but they would be getting the mono or stereo stream.

 I can see this being both useful and also annoying, so I'm asking what
 others' opinions are.

For me, it looks like having mono/stereo output on all jacks is better:
if you have =4 speakers then you'll have all of them playing when, for
example, watching stereo-only video. And this will not differ much from
all those 4-5-6... channels enabled video. Otherwise it'll require too
much work every time you want to play something: you will have to check
number of sound channels in clip and, possibly, play with your
videoplayer or aucat(1) options. Much harder and non-obvious way than
just muting/unmuting, IMHO.

--
  Best wishes,
Vadim Zhukov



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Sam Fourman Jr.
On Tue, Jan 6, 2009 at 3:29 PM, Jacob Meuser jake...@sdf.lonestar.org wrote:
 this was deep into another thread, so I'm reposting so it will be seen
 by more people (hopefully).

 so azalia users please let your voice be heard.  would you find it annoying
 when playing *only* mono or stereo to have all outputs play the audio,
 or would you like that?

idk if this is along the same topic, but what I have wanted to do for
a long time
is setup a milti room mp3 player in my house, I have 9 rooms all with
in wall speakers

could I put 3 azailla sound cards (maybe I could do it with less) in a
OpenBSD computer, and plug 3 rooms into each sound card
and somehow be able to play 9 different MP3's

maybe I am barking up the wrong tree here.

Sam Fourman Jr.
Fourman Networks



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 10:40:41PM +0100, Martin Toft wrote:
 On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
  so azalia users please let your voice be heard.  would you find it
  annoying when playing *only* mono or stereo to have all outputs play
  the audio, or would you like that?
 
 Please excuse me if I have interpreted the question wrongly. I would
 like to (continue to) have the possibility to mute my laptop's speakers
 while using headphones. Otherwise other passengers are forced to listen
 to my music when I use the laptop as a portable music player on a bus or
 train.

well, hp/spkr are already like this.

there are a few ways to mute spkr.  not all devices support all methods,
but,

the obvious one:

mixerctl outputs.spkr_mute=on

change the direction of spkr to 'none':

mixerctl outputs.spkr_dir=none

set it's source to something that it muted:

mixerctl outputs.mix3_source=   # mutes all inputs to mix3
mixerctl outputs.spkr_source=mix3

there may even be others.  if your hp jack is capable of sending
unsolicited responses then one of the first two is done more or less
automaticly when hp is plugged.  also some devices do automatic muting
completely in hardware.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 03:56:03PM -0600, Sam Fourman Jr. wrote:
 On Tue, Jan 6, 2009 at 3:29 PM, Jacob Meuser jake...@sdf.lonestar.org wrote:
  this was deep into another thread, so I'm reposting so it will be seen
  by more people (hopefully).
 
  so azalia users please let your voice be heard.  would you find it annoying
  when playing *only* mono or stereo to have all outputs play the audio,
  or would you like that?
 
 idk if this is along the same topic, but what I have wanted to do for
 a long time
 is setup a milti room mp3 player in my house, I have 9 rooms all with
 in wall speakers
 
 could I put 3 azailla sound cards (maybe I could do it with less) in a
 OpenBSD computer, and plug 3 rooms into each sound card
 and somehow be able to play 9 different MP3's
 
 maybe I am barking up the wrong tree here.

aucat can do multi-streaming.  that is what you want.  and this would
explicitely not conflict with multi-streaming because you would need
more than one dac for that.

I'm not aware of azalia in audio cards, or even two controllers in
one mother board, so there is a limit of 5 channels from azalia.

the only multi-channel cards supported by OpenBSD that I know of,
besides envy(4), are cmpci(4).

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 10:42:06PM +, Jacob Meuser wrote:
 On Tue, Jan 06, 2009 at 03:56:03PM -0600, Sam Fourman Jr. wrote:
  On Tue, Jan 6, 2009 at 3:29 PM, Jacob Meuser jake...@sdf.lonestar.org 
  wrote:
   this was deep into another thread, so I'm reposting so it will be seen
   by more people (hopefully).
  
   so azalia users please let your voice be heard.  would you find it 
   annoying
   when playing *only* mono or stereo to have all outputs play the audio,
   or would you like that?
  
  idk if this is along the same topic, but what I have wanted to do for
  a long time
  is setup a milti room mp3 player in my house, I have 9 rooms all with
  in wall speakers
  
  could I put 3 azailla sound cards (maybe I could do it with less) in a
  OpenBSD computer, and plug 3 rooms into each sound card
  and somehow be able to play 9 different MP3's
  
  maybe I am barking up the wrong tree here.
 
 aucat can do multi-streaming.  that is what you want.  and this would
 explicitely not conflict with multi-streaming because you would need
 more than one dac for that.
 
 I'm not aware of azalia in audio cards, or even two controllers in
 one mother board, so there is a limit of 5 channels from azalia.

make that 10 channels or 5 stereo streams

 the only multi-channel cards supported by OpenBSD that I know of,
 besides envy(4), are cmpci(4).
 
 -- 
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org
 

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 04:50:54PM -0500, Ted Unangst wrote:
 On Tue, Jan 6, 2009 at 4:39 PM, Jacob Meuser jake...@sdf.lonestar.org wrote:
  On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
  this was deep into another thread, so I'm reposting so it will be seen
  by more people (hopefully).
 
  so azalia users please let your voice be heard.  would you find it annoying
  when playing *only* mono or stereo to have all outputs play the audio,
  or would you like that?
 
  let me clarify a little.  the output jacks would still be mutable as
  they are now, but they would be getting the mono or stereo stream.
 
 I'd find it surprising that suddenly playing something on the back
 channels changes where front channel audio goes.

well, it doesn't really change that.  if there is different front and
rear output, that would imply two dacs are in use, and this wouldn't
be applied in that case.

  This does not match
 my experience with other stereo equipment, where one must always
 request 4 or 6 channel stereo.

from what I've seen, there is usually an option to spread stereo
input across all channels.  this is pretty much what would be
happening.  I could make this optional through a mixer control, but
it could only be changed when the device is not open for playing/
recoding.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 11:08:15PM +, Jacob Meuser wrote:
 On Tue, Jan 06, 2009 at 04:50:54PM -0500, Ted Unangst wrote:
  On Tue, Jan 6, 2009 at 4:39 PM, Jacob Meuser jake...@sdf.lonestar.org 
  wrote:
   On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
   this was deep into another thread, so I'm reposting so it will be seen
   by more people (hopefully).
  
   so azalia users please let your voice be heard.  would you find it 
   annoying
   when playing *only* mono or stereo to have all outputs play the audio,
   or would you like that?
  
   let me clarify a little.  the output jacks would still be mutable as
   they are now, but they would be getting the mono or stereo stream.
  
  I'd find it surprising that suddenly playing something on the back
  channels changes where front channel audio goes.
 
 well, it doesn't really change that.  if there is different front and
 rear output, that would imply two dacs are in use, and this wouldn't
 be applied in that case.
 
   This does not match
  my experience with other stereo equipment, where one must always
  request 4 or 6 channel stereo.
 
 from what I've seen, there is usually an option to spread stereo
 input across all channels.  this is pretty much what would be
 happening.  I could make this optional through a mixer control, but
 it could only be changed when the device is not open for playing/
 recoding.

and going back to azalia.c r1.52, what was in 4.4-release, all dacs
were getting the first channel(s) when  2 were being played, so
this would match the behaviour of 4.4-release.  I don't recall anyone
complaining about output on all channels.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Ted Unangst
On Tue, Jan 6, 2009 at 6:08 PM, Jacob Meuser jake...@sdf.lonestar.org wrote:
 On Tue, Jan 06, 2009 at 04:50:54PM -0500, Ted Unangst wrote:
 On Tue, Jan 6, 2009 at 4:39 PM, Jacob Meuser jake...@sdf.lonestar.org 
 wrote:
  On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
  this was deep into another thread, so I'm reposting so it will be seen
  by more people (hopefully).
 
  so azalia users please let your voice be heard.  would you find it 
  annoying
  when playing *only* mono or stereo to have all outputs play the audio,
  or would you like that?
 
  let me clarify a little.  the output jacks would still be mutable as
  they are now, but they would be getting the mono or stereo stream.

 I'd find it surprising that suddenly playing something on the back
 channels changes where front channel audio goes.

 well, it doesn't really change that.  if there is different front and
 rear output, that would imply two dacs are in use, and this wouldn't
 be applied in that case.

I think I need more clarification.  Suppose I am listening to 2
channel music.  Without any options, the new (old?) default will be to
play on all output channels.  Now I play a short sound on the back
channels.  Does the music stop?  Does the sound blend?



Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Jacob Meuser
On Tue, Jan 06, 2009 at 07:59:04PM -0500, Ted Unangst wrote:
 On Tue, Jan 6, 2009 at 6:08 PM, Jacob Meuser jake...@sdf.lonestar.org wrote:
  On Tue, Jan 06, 2009 at 04:50:54PM -0500, Ted Unangst wrote:
  On Tue, Jan 6, 2009 at 4:39 PM, Jacob Meuser jake...@sdf.lonestar.org 
  wrote:
   On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote:
   this was deep into another thread, so I'm reposting so it will be seen
   by more people (hopefully).
  
   so azalia users please let your voice be heard.  would you find it 
   annoying
   when playing *only* mono or stereo to have all outputs play the audio,
   or would you like that?
  
   let me clarify a little.  the output jacks would still be mutable as
   they are now, but they would be getting the mono or stereo stream.
 
  I'd find it surprising that suddenly playing something on the back
  channels changes where front channel audio goes.
 
  well, it doesn't really change that.  if there is different front and
  rear output, that would imply two dacs are in use, and this wouldn't
  be applied in that case.
 
 I think I need more clarification.  Suppose I am listening to 2
 channel music.  Without any options, the new (old?) default will be to
 play on all output channels.

actually, it will give all dacs the first channel(s) digital data.

  Now I play a short sound on the back
 channels.  Does the music stop?  Does the sound blend?
 

I don't understand what you're saying here. how do you play sound on
the back channels?

if you are using aucat in a multichannel/multistream configuration, then
you are using more than one dac and there is no copying of data.

if you are switching from stereo playback to multichannel playback,
then the music stops anyway.

if you are just muting/unmuting channels, then nothing stops from
dac's perspective.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org