Return-Path: Subject: Re: Turn off the bluetooth headset during audio playback via a2dp. From: Marcel Holtmann To: =?UTF-8?Q?=E5=8D=9E=E7=A3=8A?= Cc: linux-bluetooth@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 09 Feb 2009 13:29:39 +0100 Message-Id: <1234182579.4705.6.camel@californication> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, > If a2dp channel was disconnected during the audio playback , i > wanted to swtich the path to audiocard. > But after a2dp channel disconnect , "aplay" or "helix" would be hold > and can not exit normally. (I want to close the bluetooth device ,then > open a new audiocard device.) > How to fix this issue and is there other method to switch between > bluetooth headset and audiocard dynamically during audio playback via > a2dp? you should use an audio server like PulseAudio for this. ALSA is not really designed for these use cases. Regards Marcel