Subject: Re: Problems with SoundBlaster Live!
To: None <toshii@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 03/18/2003 00:22:59
In article <20030317123356.E7A996DF9@mail.asahi-net.or.jp>
toshii@netbsd.org writes:

> Please try emuxki.c rev. 1.24.
> This version should fix the problem if it is caused by the memory
> leak.

It seems to work, but "else goto skip_initialize" looks a bit ugly..
Isn't it better to call emuxki_voice_dataloc_destroy() always
and initialize struct voice even in (voice->use == use) case?

BTW, I can't change play.gain of my SoundBlasterLive!Value:
---
emuxki0 at pci0 dev 13 function 0: Creative Labs SBLive! EMU 10000 \
(audio multimedia, revision 0x05)
emuxki0: interrupting at irq 11
emuxki0: TriTech TR28602 codec; no 3D stereo
audio0 at emuxki0: full duplex, mmap, independent
 :
% audioctl play.gain
play.gain=127
% audioctl -w play.gain=255
play.gain: -> 127
% audioctl monitor_gain
monitor_gain=0
% audioctl -w monitor_gain=255
monitor_gain: -> 0
%  
---

Does it work on your emuxki?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp