At Tue, 14 May 2002 11:13:56 -0400 (EDT), Adam K Kirchhoff wrote: > > > OK... So I got around to testing how snd_ymfpci_ac3_init and > snd_ymfpci_ac3_done are being handled. You'll have to tell me if the > results sound good, though. > > Playing back one small wav file (3930 bytes) with "play" (so it's not > using any sound daemons) results in entering _init one and entering _done > once. > > Playing back a slightly larger wav file (12250 bytes) results in entering > _init 3 times, and _done once. > > An even larger wav file: _init 4 times, _done once... > > The largest wav file I can find will still only enter _init 4 times... > _done only ever seems to get called once (as you'd expect).
hmm, init can be called multiple times. i forgot it. the following is the revised patch. now ac3_init and _done are called at module init/end stage, so there will be no problems any more to switch 2ch/4ch accidentally. could you give a try? Takashi
ymfpci-4ch-2.dif
Description: Binary data