From: Joakim Tjernlund Subject: Different audio sample rate between in and out(44100 Hz resp. 44100 Hz) Date: Tue, 5 Sep 2017 17:25:57 +0000 Message-ID: <1504632355.27247.43.camel@infinera.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0075.outbound.protection.outlook.com [104.47.38.75]) by alsa0.perex.cz (Postfix) with ESMTP id F267B266C6D for ; Tue, 5 Sep 2017 19:26:01 +0200 (CEST) Content-Language: en-US Content-ID: <7AA684E49B24FB408C35CCBB18D2D9D4@infinera.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org When starting a audio chat I often have problems with my microphon and recenly I found that the sample rate is different for in and out: # > cat /proc/asound/card1/stream0 Logitech Inc Logitech Stereo H650e at usb-0000:00:1d.0-1.7, full speed : USB Audio Playback: Status: Running Interface = 2 Altset = 1 Packet Size = 192 Momentary freq = 48000 Hz (0x30.0000) Interface 2 Altset 1 Format: S16_LE Channels: 2 Endpoint: 1 OUT (ADAPTIVE) Rates: 8000, 16000, 24000, 32000, 44100, 48000 Capture: Status: Running Interface = 1 Altset = 1 Packet Size = 200 Momentary freq = 44100 Hz (0x2c.199a) Interface 1 Altset 1 Format: S16_LE Channels: 2 Endpoint: 1 IN (ASYNC) Rates: 8000, 16000, 24000, 32000, 44100, 48000 This seems odd to me. Adding some debug to kernel I see: [ 129.858365] usb 1-2: 1:1: setting freq 44100 to ep 0x81 [ 129.860514] usb 1-2: 1:1: setting freq 44100 to ep 0x81 [ 131.884314] usb 1-2: 2:1: setting freq 44100 to ep 0x1 [ 131.886567] usb 1-2: 2:1: setting freq 44100 to ep 0x1 [ 131.898714] usb 1-2: 2:1: setting freq 48000 to ep 0x1 [ 131.900847] usb 1-2: 2:1: setting freq 48000 to ep 0x1 Is this expected or should I try make both the same? Jocke