Date: Wed, 21 Sep 2005 17:17:40 +0800 From: Ariff Abdullah <skywizard@MyBSD.org.my> To: jos@catnook.com Cc: multimedia@freebsd.org Subject: Re: Curious sound playback slowdown Message-ID: <20050921171740.62f09414.skywizard@MyBSD.org.my> In-Reply-To: <20050921051839.GA39942@lizzy.catnook.local> References: <20050917054421.GA93917@lizzy.catnook.local> <20050921051839.GA39942@lizzy.catnook.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Sep 2005 22:18:17 -0700 Jos Backus <jos@catnook.com> wrote: > On Fri, Sep 16, 2005 at 10:43:59PM -0701, Jos Backus wrote: > ... > > 92231 firefox-bin CALL ioctl(0x13,SNDCTL_DSP_STEREO,0xbfbf6ca0) > > 92231 firefox-bin RET ioctl 0 > > 92231 firefox-bin CALL ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbf6cdc) > > 92231 firefox-bin RET ioctl 0 > > 92231 firefox-bin CALL > > ioctl(0x13,SNDCTL_DSP_SETFRAGMENT,0xbfbf6d08) 92231 firefox-bin RET > > ioctl 0 > > 92231 firefox-bin CALL ioctl(0x13,SNDCTL_DSP_GETCAPS,0xbfbf6d04) > > 92231 firefox-bin RET ioctl 0 > > 92231 firefox-bin CALL fcntl(0x13,0x4,0) > > 92231 firefox-bin RET fcntl 0 > > 92231 firefox-bin CALL close(0x13) > ... > > It's unclear to me why the SNDCTL_DSP_SPEED ioctl is stuffing the > wrong value into the device. Running the program below as > `set-samplerate 22050' appears to mimic the change the Flash plugin > effects. Running `set-samplerate' restores sound pitch to a normal > value. So I have a workaround for now at least. > Luckily I have this card and do realize this problem. That's because flash plugin trying to set speed for recording that differ from playback speed. I will examine this issue later this day. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050921171740.62f09414.skywizard>