- fix esound output

- disable jack for the time being
This commit is contained in:
jakemsr 2008-03-24 04:48:08 +00:00
parent 0307b9a632
commit 6254971cbe
2 changed files with 20 additions and 3 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.63 2007/10/24 21:52:16 espie Exp $
# $OpenBSD: Makefile,v 1.64 2008/03/24 04:48:08 jakemsr Exp $
COMMENT= K Desktop Environment, aRTs
CATEGORIES= x11 x11/kde
VERSION= 3.5.8
DISTNAME= arts-1.5.8
MODKDE_VERSION?= 3.5.8
PKGNAME= ${DISTNAME}
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += mcop 2.0 # .1.0
SHARED_LIBS += artsflow_idl 2.0 # .1.0
@ -34,7 +34,8 @@ LIB_DEPENDS= audiofile::devel/libaudiofile \
SEPARATE_BUILD=flavored
CONFIGURE_ENV=LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ARGS+= ${ENABLE_SHARED}
CONFIGURE_ARGS+= ${ENABLE_SHARED} \
--without-jack
WANTLIB= ICE SM X11 Xext c iconv intl jpeg m ossaudio png pthread \
stdc++ vorbisenc z Xau Xdmcp

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-flow_audioioesd_cc,v 1.1 2008/03/24 04:48:08 jakemsr Exp $
--- flow/audioioesd.cc.orig Mon Oct 8 02:47:09 2007
+++ flow/audioioesd.cc Sun Mar 9 22:52:42 2008
@@ -204,10 +204,10 @@ int AudioIOESD::getParam(AudioParam p)
return write_fd;
case canRead:
- return ESD_BUF_SIZE;
+ return ESD_BUF_SIZE / 4;
case canWrite:
- return ESD_BUF_SIZE;
+ return ESD_BUF_SIZE / 4;
// ESD handles are actually socket descriptors, and I know not
// of any portable way to peek at the socket's send or receive