From owner-freebsd-questions@FreeBSD.ORG Tue May 30 23:24:24 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EBC316AF38 for ; Tue, 30 May 2006 23:24:24 +0000 (UTC) (envelope-from mac@macnewbold.com) Received: from bas.flux.utah.edu (bas.flux.utah.edu [155.98.60.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C9E43D46 for ; Tue, 30 May 2006 23:24:24 +0000 (GMT) (envelope-from mac@macnewbold.com) Received: from localhost (localhost [127.0.0.1]) by bas.flux.utah.edu (8.13.6/8.12.11) with ESMTP id k4UNONDt064113 for ; Tue, 30 May 2006 17:24:23 -0600 (MDT) (envelope-from mac@macnewbold.com) Date: Tue, 30 May 2006 17:24:23 -0600 (MDT) From: Mac Newbold X-X-Sender: newbold@bas.flux.utah.edu To: questions@freebsd.org Message-ID: <20060530171512.O26913@bas.flux.utah.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: audio playback glitches while using CD drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 23:24:31 -0000 For quite a while now I've put up with this annoyance, and finally decided to see if I can find anything about it or how to fix it. Google didn't turn up anything that I could find, so hopefully someone here might be able to help or point me in the right direction. My FreeBSD workstation, currently running 5.5-PRERELEASE though this happend with various 5.x versions, can't seem to use the CD-ROM/CD-RW/DVD-RW drive at the same time that it is trying to play an audio file, like an mp3. I'm set up using the esound daemon, esd, and play mp3s using mpg123 usually, though other sounds (from gaim, xmms, etc.) are affected too. Whenever I use the drive, whether using abcde/cdparanoia to rip or using cdrecord or growisofs to record, I get lots of glitches in my audio. The glitches come in the form of cracking, crackling, popping, and other distortion, in addition to slowing down the playback due to the breaks in it. I get similar crackling and popping while the hard disk drives are under heavy use, like when rsnapshot/rsync are running backups. I've confirmed that high CPU usage isn't the cause, because when I don't use the drives heavily, but am using the CPU a lot, it doesn't occur, like when lame is encoding an mp3. Most of the times my CD/DVD drive is in heavy use, my hard disk is also being heavily used, so maybe that has something to do with it. I've tried turning up the buffering of the audio in the mp3 player to extreme levels, such that it probably has buffered the entire song, but it still doesn't help the problem, not even before the buffer is used up. Any suggestions or ideas of what might be causing this or what might help fix it are welcome. Has anyone seen or heard anything like this before? Thanks, Mac -- Mac Newbold MNE - Mac Newbold Enterprises, LLC mac@macnewbold.com http://www.macnewbold.com/