<br>Hi<br><br>> The primary reason for this is that most audio drivers produce<br>> relative loud crackling noises when you open or close them. Upstream<br>> ALSA is now working on minimizing these issues, but currently you get
<br>> those even with the newest intel-hda drivers.<br>><br>> OTOH keeping the devices open is indeed detrimental for power<br>> consumption and hence PA from SVN (lennart branch, the upcoming 0.9.7)<br>> now features a new module "module-suspend-on-idle" which will suspend
<br>> all devices when they are idle for too long. For the ALSA case this<br>> means that the device is closed when idle.<br><br>> So, if you want to save power and have sane sound drivers+hardware,<br>> load that module. If you don't care about power consumption or care
<br>> about those crackling noises, don't load them. The default config will<br>> now load it.<br><br>Tht sounds good w.r.t to unloading when idle for longer time .. <br><br>But for now,say i keep the device open, and i avoid writing zeroes to it wen no client is attached,
<br>which i tried to do by commenting out writing silence to alsa sound card and simply return from do_write() . <br>This apparently hogs the CPU and daemon gets terminated .. So writing zeroes seems to be a necessary thing ..
<br>Though i dont understand why?<br clear="all"><br>-- <br>Regards,<br><br>Dsk