From patchwork Mon Jun 12 19:13:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oswald Buddenhagen X-Patchwork-Id: 13277196 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50BABC7EE2E for ; Mon, 12 Jun 2023 19:15:28 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id F0C6D846; Mon, 12 Jun 2023 21:14:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F0C6D846 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1686597326; bh=o88f4fW1Dmyqkam5xFbh8mFRpXkpK4R8YKrvN5GtliE=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Xd45qhj+2QlPdV7NMP3Ot5Soz++K8rmQjzZPHYOUrqlqCQ9DwDlobr1UX8epCZg9u tODWJZ1f6YSIcRyToiZ2TGFEnxapelESwr375sj+5Zn806ahPuCJUSGwR9Thq/rf7H Nbk+k7WQnCf+aEaGdquLMfwYlofYug4Q2E3BFH+A= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4B441F80552; Mon, 12 Jun 2023 21:13:47 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 71CCBF80558; Mon, 12 Jun 2023 21:13:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0A6E7F80548; Mon, 12 Jun 2023 21:13:40 +0200 (CEST) Received: from bluemchen.kde.org (bluemchen.kde.org [IPv6:2001:470:142:8::100]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C33D2F80149 for ; Mon, 12 Jun 2023 21:13:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C33D2F80149 Received: from ugly.fritz.box (localhost [127.0.0.1]) by bluemchen.kde.org (Postfix) with ESMTP id C3F7223FC6; Mon, 12 Jun 2023 15:13:25 -0400 (EDT) Received: by ugly.fritz.box (masqmail 0.3.4, from userid 1000) id 1q8myj-WJl-00; Mon, 12 Jun 2023 21:13:25 +0200 From: Oswald Buddenhagen To: alsa-devel@alsa-project.org Cc: Takashi Iwai , Jaroslav Kysela Subject: [PATCH 0/9] ALSA: emu10k1: improvements related to the switchable word clock of E-MU cards Date: Mon, 12 Jun 2023 21:13:16 +0200 Message-Id: <20230612191325.1315854-1-oswald.buddenhagen@gmx.de> X-Mailer: git-send-email 2.40.0.152.g15d061e6df MIME-Version: 1.0 Message-ID-Hash: WOCSHHSMOH5K6WPXDQNKLZDPM3W74HNO X-Message-ID-Hash: WOCSHHSMOH5K6WPXDQNKLZDPM3W74HNO X-MailFrom: ossi@kde.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Oswald Buddenhagen (9): ALSA: emu10k1: split off E-MU fallback clock from clock source ALSA: emu10k1: make available E-MU clock sources card-specific ALSA: emu10k1: query rate of external clock sources on E-MU cards ALSA: emu10k1: fix sample rates for E-MU cards at 44.1 kHz word clock ALSA: emu10k1: fix synthesizer pitch for E-MU cards at 44.1 kHz ALSA: timer: minimize open-coded access to hw.resolution ALSA: emu10k1: fix timer for E-MU cards at 44.1 kHz word clock ALSA: emu10k1: add support for 12 kHz capture on Audigy ALSA: emu10k1: actually show some S/PDIF status in /proc for E-MU cards include/sound/emu10k1.h | 11 +- include/sound/emux_synth.h | 2 +- sound/core/timer.c | 18 +- sound/pci/emu10k1/emu10k1_callback.c | 10 ++ sound/pci/emu10k1/emu10k1_main.c | 7 +- sound/pci/emu10k1/emu10k1_synth.c | 1 - sound/pci/emu10k1/emumixer.c | 242 ++++++++++++++++----------- sound/pci/emu10k1/emupcm.c | 125 +++++++------- sound/pci/emu10k1/emuproc.c | 51 +++--- sound/pci/emu10k1/io.c | 72 ++++++++ sound/pci/emu10k1/timer.c | 20 ++- sound/synth/emux/emux_synth.c | 3 +- 12 files changed, 374 insertions(+), 188 deletions(-)