From nobody@FreeBSD.org  Wed Jul 31 11:34:22 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 835F699A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 31 Jul 2013 11:34:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 701A42C84
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 31 Jul 2013 11:34:22 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6VBYLJF005955
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 31 Jul 2013 11:34:21 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6VBYLIG005952;
	Wed, 31 Jul 2013 11:34:21 GMT
	(envelope-from nobody)
Message-Id: <201307311134.r6VBYLIG005952@oldred.freebsd.org>
Date: Wed, 31 Jul 2013 11:34:21 GMT
From: Eugene Zheganin <eugene@zhegan.in>
To: freebsd-gnats-submit@FreeBSD.org
Subject: snd_envy24: recording broken
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180966
>Category:       kern
>Synopsis:       [snd_envy24] recording broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 31 11:40:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Fri Aug 02 02:50:20 UTC 2013
>Originator:     Eugene Zheganin
>Release:        10.0-CURRENT
>Organization:
Vivat-Trade LLC
>Environment:
FreeBSD icecast.bolid.fm 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253444: Thu Jul 18 17:25:07 YEKT 2013     emz@:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I have an M-Audio Audiophile 24/96 board.
While everything is fine while playing the sound, recording sound from the line-in gives distorted sound (like in VoIP when some frames are dropping, only in this case no clean sound can be heard at all).

Attempted measures to resolve:

- changing HZ from 1000 to 100
- changing HZ from 100 to 4000
- disabling virtual channels
- changing dev.pcm.1.play.vchanrate/dev.pcm.1.play.vchanrate from 48000 to 41000 and back
- enabling dev.pcm.0.bitperfect

This didn't help, after some struggling I enabled the onboard hda card and got clean sound ot it's line-in.
>How-To-Repeat:
Try to record sound from snd_envy24(4) card.
>Fix:
Use snd_hda(4) for the purpose of sound recording.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Aug 2 02:50:02 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180966 
>Unformatted:
