Re: xmmix crashes when trying to drag volume controls, amd64 -current 24 June

2011-06-28 Thread Christian Weisgerber
Jacob Meuser  wrote:

> xmmix is obviously not 64-bit clean.  just build it on amd64 and look
> at the warnings.

A cursory look over the source suggests these are harmless.  This
is one of those cases where people pass int values through pointer
variables.  The caller casts the int to a pointer, the callee casts
the pointer back to an int.  No information is lost.  That's ugly,
but it doesn't break on LP64.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: xmmix crashes when trying to drag volume controls, amd64 -current 24 June

2011-06-27 Thread Landry Breuil
On Sun, Jun 26, 2011 at 08:09:23PM -0700, Brett wrote:
> On 06/26/11 14:26, Christian Weisgerber wrote:
> >[Moving this to ports@]
> >
> >Brett  wrote:
> >
> >>I just installed June 24 -current, and compiled xmmix from ports. It
> >>crashes every time I touch the volume control or microphone control.
> >All those cute mixer programs populating the ports tree are built
> >for an OSS-style audio API which is very different from the OpenBSD
> >mixer, and they don't work very well with the ossaudio compatibility
> >library.
> >
> >It might be time to simply delete them.
> >
> Mainly I reported this in case some bug had been introduced to
> openbsd that caused this crash to happen.
> 
> xmix is still working so I am using it instead. I would say please
> leave at least one mixer program in the ports tree, they are very
> handy for openbsd desktop users such as myself.
> 
> Can anyone recommend a gui mixer that is more suitable for
> interfacing with openbsd mixerctl?

You can try audio/cmixer, which is simple, but built specifically around
our mixerctl.

Landry



Re: xmmix crashes when trying to drag volume controls, amd64 -current 24 June

2011-06-26 Thread Brett

On 06/26/11 14:26, Christian Weisgerber wrote:

[Moving this to ports@]

Brett  wrote:


I just installed June 24 -current, and compiled xmmix from ports. It
crashes every time I touch the volume control or microphone control.

All those cute mixer programs populating the ports tree are built
for an OSS-style audio API which is very different from the OpenBSD
mixer, and they don't work very well with the ossaudio compatibility
library.

It might be time to simply delete them.

Mainly I reported this in case some bug had been introduced to openbsd 
that caused this crash to happen.


xmix is still working so I am using it instead. I would say please leave 
at least one mixer program in the ports tree, they are very handy for 
openbsd desktop users such as myself.


Can anyone recommend a gui mixer that is more suitable for interfacing 
with openbsd mixerctl?


Brett.



Re: xmmix crashes when trying to drag volume controls, amd64 -current 24 June

2011-06-26 Thread Jacob Meuser
On Sun, Jun 26, 2011 at 09:26:16PM +, Christian Weisgerber wrote:
> [Moving this to ports@]
> 
> Brett  wrote:
> 
> > I just installed June 24 -current, and compiled xmmix from ports. It 
> > crashes every time I touch the volume control or microphone control.
> 
> All those cute mixer programs populating the ports tree are built
> for an OSS-style audio API which is very different from the OpenBSD
> mixer, and they don't work very well with the ossaudio compatibility
> library.
> 
> It might be time to simply delete them.

xmmix is obviously not 64-bit clean.  just build it on amd64 and look
at the warnings.  Brett said it was working on i386 but not amd64.

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



Re: xmmix crashes when trying to drag volume controls, amd64 -current 24 June

2011-06-26 Thread Christian Weisgerber
[Moving this to ports@]

Brett  wrote:

> I just installed June 24 -current, and compiled xmmix from ports. It 
> crashes every time I touch the volume control or microphone control.

All those cute mixer programs populating the ports tree are built
for an OSS-style audio API which is very different from the OpenBSD
mixer, and they don't work very well with the ossaudio compatibility
library.

It might be time to simply delete them.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de