public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: 卞磊 <mykofzone@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Turn off the bluetooth headset during audio playback via a2dp.
Date: Mon, 09 Feb 2009 13:29:39 +0100	[thread overview]
Message-ID: <1234182579.4705.6.camel@californication> (raw)
In-Reply-To: <a172fe730902090351m6245a9f8uc39c2776752bcd9f@mail.gmail.com>

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



      reply	other threads:[~2009-02-09 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 11:51 Turn off the bluetooth headset during audio playback via a2dp 卞磊
2009-02-09 12:29 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1234182579.4705.6.camel@californication \
    --to=marcel@holtmann.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=mykofzone@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox