From patchwork Sat Feb 13 18:47:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 8300581 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D38059F6E4 for ; Sat, 13 Feb 2016 18:47:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1703420437 for ; Sat, 13 Feb 2016 18:47:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2AC192042C for ; Sat, 13 Feb 2016 18:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751153AbcBMSrq (ORCPT ); Sat, 13 Feb 2016 13:47:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36216 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbcBMSrq (ORCPT ); Sat, 13 Feb 2016 13:47:46 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id DF8085A66 for ; Sat, 13 Feb 2016 18:47:45 +0000 (UTC) Received: from shalem.localdomain.com (vpn1-4-73.ams2.redhat.com [10.36.4.73]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1DIlejN011443; Sat, 13 Feb 2016 13:47:44 -0500 From: Hans de Goede To: Linux Media Mailing List Cc: Hans de Goede Subject: [PATCH tvtime 02/17] alsa_stream: Use "default" alsa output device as default Date: Sat, 13 Feb 2016 19:47:23 +0100 Message-Id: <1455389258-13470-2-git-send-email-hdegoede@redhat.com> In-Reply-To: <1455389258-13470-1-git-send-email-hdegoede@redhat.com> References: <1455389258-13470-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use "default" alsa output device as default, rather then hardcoding "hw:0,0". Signed-off-by: Hans de Goede --- src/tvtimeconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c index cadae7a..001351b 100644 --- a/src/tvtimeconf.c +++ b/src/tvtimeconf.c @@ -817,7 +817,7 @@ config_t *config_new( void ) ct->doc = 0; ct->alsa_inputdev = strdup( "hw:1,0" ); - ct->alsa_outputdev = strdup( "hw:0,0" ); + ct->alsa_outputdev = strdup( "default" ); /* Default key bindings. */ ct->keymap[ 0 ] = TVTIME_NOCOMMAND;