Date: Sat, 10 Apr 1999 20:04:32 +0100 (BST) From: Steve Roome <steve@snuggly.demon.co.uk> To: Munehiro Matsuda <haro@tk.kubota.co.jp> Cc: luigi@labinfo.iet.unipi.it, multimedia@FreeBSD.ORG Subject: Re: YMF719 - configuration hell! Message-ID: <Pine.BSF.4.05.9904102000510.215-100000@localhost> In-Reply-To: <19990409093717W.haro@tk.kubota.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Apr 1999, Munehiro Matsuda wrote: > ::it's actually trying to do this : > :: > :: if (!(mxdevmask & SOUND_MIXER_PCM)) > :: { > :: report (REPORT_ERROR, "rplay_audio_get_volume: pcm mixer device not installed\n"); > :: close (mx); > :: return (-1); > :: } > > This check should use 'SOUND_MASK_PCM', and not the 'SOUND_MIXER_PCM'. > You have to replace all reference of 'SOUND_MIXER_PCM' to 'SOUND_MASK_PCM' > in rplayd/audio/audio_FreeBSD.c. Changed this and it works better, here's the diff, if someone wants to add them to the port ? (it's not very difficult is it!) diff audio_FreeBSD.c ~steve/default-rplay-3.2.0b6/rplayd/audio/audio_FreeBSD.c 329c329 < int gcount; --- > 345c345 < if (!(mxdevmask & SOUND_MASK_PCM)) --- > if (!(mxdevmask & SOUND_MIXER_PCM)) 409d408 < printf("USING THIS CODE\n"); I've noticed that it used SOUND_MIXER_PCM in other places as well, the above gets rid of the error message, but I don't have the time at the moment to figure out how well this is working, and if it actually acheives anything much other than just getting rid of the error message. Thanks very much for the help. Steve Roome To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904102000510.215-100000>