From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 54BF01F4BD for ; Tue, 8 Oct 2019 08:32:19 +0000 (UTC) Received: from localhost ([::1]:52080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHkun-0007JA-VV for e@80x24.org; Tue, 08 Oct 2019 04:32:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55823) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHkum-0007HE-1e for dtas-all@nongnu.org; Tue, 08 Oct 2019 04:32:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHkuk-0002Dx-2p for dtas-all@nongnu.org; Tue, 08 Oct 2019 04:32:15 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:41724) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHkuf-0001zU-Hn for dtas-all@nongnu.org; Tue, 08 Oct 2019 04:32:11 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A830D1F4BD; Tue, 8 Oct 2019 08:32:02 +0000 (UTC) Date: Tue, 8 Oct 2019 08:32:02 +0000 From: Eric Wong To: Rene Maurer Subject: Re: sound card interruptions Message-ID: <20191008083202.GA3132@dcvr> References: <874l0kb9qm.fsf@loco10.cumparsita.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <874l0kb9qm.fsf@loco10.cumparsita.ch> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.71.152.64 X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dtas-all@nongnu.org Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" Rene Maurer wrote: > Hello > > I am using dtas for years now and I am very happy with it. It is > outstanding. Good to know. I've mostly abandoned Ruby, but still use dtas every day, too :> > I have a question concerning interruptions between computer and sound > card (USB). In case this happens dtas-player immediately deletes the > current playing song as well as the player queue. Is that from a loose USB cable? Sometimes they wear out if you're constantly unplugging/replugging it. I think it actually tries everything in the queue and fails every single one before stopping. I honestly haven't looked at the code in a long time. > This behavior is logical. Is it still possibe to avoid this, so that > dtas continues playing at the same position as before the interruption > (and without clearing the queue)? Not sure. I'm not sure if play(1) exits with enough info to know it's a recoverable error or not. I'll have look into it when I get the chance (maybe in a few weeks, been busy on other stuff).