Re: [NEW] audio/cmus (+ sndio backend)

2011-09-05 Thread Landry Breuil
On Sun, Sep 04, 2011 at 11:25:39PM +0200, Donovan Watteau wrote: On Sun, 4 Sep 2011, Matthias Kilian wrote: On Sun, Sep 04, 2011 at 08:50:28PM +0200, Donovan Watteau wrote: It seems that, for an unknown reason, CONFIG_TREMOR doesn't get enabled. Could you do a simple make configure, and

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-05 Thread Matthias Kilian
On Mon, Sep 05, 2011 at 09:12:09AM +0200, Landry Breuil wrote: The attached port should fix this issue once and for all. It also documents the new sndio backend in the manpage. If this builds on arm, i'd be happy to (finally) import it. It builds, packages, installs, and I'm right now

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-04 Thread Alexandre Ratchov
On Thu, Sep 01, 2011 at 09:02:06PM +0200, Donovan Watteau wrote: On Wed, 31 Aug 2011, Alexandre Ratchov wrote: Thanks. It works for me except with small block sizes on my setup, example, if I start: aucat -r 48000 -b 960 -z 480 and then try to play a .mp3 there's no sound. The

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-04 Thread Matthias Kilian
On Thu, Sep 01, 2011 at 09:39:36PM +0200, Donovan Watteau wrote: For the problem of building on ARM, unfortunately, I don't have any OpenBSD/arm box so I can't test it. But, looking at vorbis.c and the Makefile, it seems that the file should be vorbis.so, whether Tremor is used or not. So I

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-04 Thread Donovan Watteau
On Sun, 4 Sep 2011, Alexandre Ratchov wrote: However, it seems that the changes related to the buffer make cmus a bit slower to pause, for example: the buffer continues playing for about 1 sec, which, IMO, is not very diserable. Indeed 1 second is not desirable, but it shouldn't be 1

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-04 Thread Matthias Kilian
On Sun, Sep 04, 2011 at 08:50:28PM +0200, Donovan Watteau wrote: It seems that, for an unknown reason, CONFIG_TREMOR doesn't get enabled. Could you do a simple make configure, and then provide the content of config/tremor.h, grep TREMOR config.mk and grep VORBIS config.mk? $ cat

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-04 Thread Donovan Watteau
On Sun, 4 Sep 2011, Matthias Kilian wrote: On Sun, Sep 04, 2011 at 08:50:28PM +0200, Donovan Watteau wrote: It seems that, for an unknown reason, CONFIG_TREMOR doesn't get enabled. Could you do a simple make configure, and then provide the content of config/tremor.h, grep TREMOR config.mk

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-01 Thread Donovan Watteau
On Wed, 31 Aug 2011, Alexandre Ratchov wrote: Thanks. It works for me except with small block sizes on my setup, example, if I start: aucat -r 48000 -b 960 -z 480 and then try to play a .mp3 there's no sound. The diff below seems to fix it. Besides that, few remarks inlined below:

Re: [NEW] audio/cmus (+ sndio backend)

2011-09-01 Thread Donovan Watteau
Thanks for all your answers. For the problem of building on ARM, unfortunately, I don't have any OpenBSD/arm box so I can't test it. But, looking at vorbis.c and the Makefile, it seems that the file should be vorbis.so, whether Tremor is used or not. So I don't really understand the problem...

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Thomas Pfaff
On Sat, 27 Aug 2011 14:10:44 +0200 Donovan Watteau tso...@gmail.com wrote: Hi, Here's an updated version for cmus-v2.4.2, now that the ports tree is unlocked again. Comments / suggestions welcome. On 2011/7/17 Donovan Watteau wrote: Hi, Attached is a port of cmus, an ncurses-based

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Landry Breuil
On Sat, Aug 27, 2011 at 02:10:44PM +0200, Donovan Watteau wrote: Hi, Here's an updated version for cmus-v2.4.2, now that the ports tree is unlocked again. Comments / suggestions welcome. The port itself looks good. I'd like someone to test it on arm if possible, and you should make it

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Donovan Watteau
OK, thanks! So here's a new version, with the following changes: - Added SHARED_ONLY=Yes, regen'd PLIST and friends. - Added MAINTAINER=Me. - Fixed WANTLIB-flac and WANTLIB-wavpack. - Fixed HOSTCC/HOSTLD (which defaulted to gcc) and HOST_CFLAGS (which defaulted to their own flags). I think it

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Landry Breuil
On Tue, Aug 30, 2011 at 01:35:56PM +0200, Donovan Watteau wrote: OK, thanks! So here's a new version, with the following changes: - Added SHARED_ONLY=Yes, regen'd PLIST and friends. - Added MAINTAINER=Me. - Fixed WANTLIB-flac and WANTLIB-wavpack. - Fixed HOSTCC/HOSTLD (which defaulted to gcc)

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Matthias Kilian
On Tue, Aug 30, 2011 at 02:20:55PM +0200, Landry Breuil wrote: On Tue, Aug 30, 2011 at 01:35:56PM +0200, Donovan Watteau wrote: OK, thanks! So here's a new version, with the following changes: - Added SHARED_ONLY=Yes, regen'd PLIST and friends. - Added MAINTAINER=Me. - Fixed WANTLIB-flac

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Landry Breuil
On Tue, Aug 30, 2011 at 10:34:40PM +0200, Matthias Kilian wrote: On Tue, Aug 30, 2011 at 02:20:55PM +0200, Landry Breuil wrote: On Tue, Aug 30, 2011 at 01:35:56PM +0200, Donovan Watteau wrote: OK, thanks! So here's a new version, with the following changes: - Added SHARED_ONLY=Yes,

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Stuart Henderson
On 2011-08-30, Landry Breuil lan...@rhaalovely.net wrote: checking if CC can generate dependency information... systrace: deny user: landry, prog: /usr/lib/gcc-lib/amd64-unknown-openbsd5.0/4.2.1/cc1, pid: 16980(0)[12418], policy : /usr/bin/env, filters: 199, syscall: native-fswrite(5),

Re: [NEW] audio/cmus (+ sndio backend)

2011-08-30 Thread Alexandre Ratchov
On Tue, Aug 30, 2011 at 01:35:56PM +0200, Donovan Watteau wrote: OK, thanks! So here's a new version, with the following changes: - Added SHARED_ONLY=Yes, regen'd PLIST and friends. - Added MAINTAINER=Me. - Fixed WANTLIB-flac and WANTLIB-wavpack. - Fixed HOSTCC/HOSTLD (which defaulted to gcc)

[NEW] audio/cmus (+ sndio backend)

2011-08-27 Thread Donovan Watteau
Hi, Here's an updated version for cmus-v2.4.2, now that the ports tree is unlocked again. Comments / suggestions welcome. On 2011/7/17 Donovan Watteau wrote: Hi, Attached is a port of cmus, an ncurses-based music player. I wrote backend for sndio, thanks to the patches which were written