public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Jelle de Jong <jelledejong@powercraft.nl>
To: event <event.riga@gmail.com>
Cc: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: Re: can somebody show me an example asound configuration for dmixing with hifi bluetooth speakers/headset
Date: Sun, 11 Jan 2009 14:33:33 +0100	[thread overview]
Message-ID: <4969F52D.2070405@powercraft.nl> (raw)
In-Reply-To: <664d43d60901100639x2cde2c9ek89316e66e8af16f@mail.gmail.com>

event wrote:
> On 2009-01-09, event <event.riga@gmail.com> wrote:
>> On 2009-01-07, Jelle de Jong <jelledejong@powercraft.nl> wrote:
>>> event wrote:
>>>> On Tue, Jan 6, 2009 at 12:07, Jelle de Jong <jelledejong@powercraft.nl>
>>>> wrote:
>>>>> Jelle de Jong wrote:
>>>>>>> Hello everybody,
>>>>>>>
>>>>>>> I have been periodically trying to get multiple audio sources to play
>>>>>>> together (dmixing) to a hifi bluetooth speaker system or hifi
>>>>>>> bluetooth
>>>>>>> headset.
>>>>>>>
>>>>>>> I am using only alsa and no pulseaudio, esd, jack, mas of something
>>>>>>> else
>>>>>>> just alsa with asoundrc configuration files and no graphical
>>>>>>> environment.
>>>>>>>
>>>>>>> Can somebody show me an example asoundrc config file to make it
>>>>>>> possible
>>>>>>> to use software audio mixing with my bluetooth devices. If this is
>>>>>>> currently not possible, please tell why and what we can do about it. I
>>>>>>> am willing to donate some payal money to the person providing me with
>>>>>>> a
>>>>>>> working asoundrc configuration file that allows me to play multiple
>>>>>>> audio sources at the same time.
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> Jelle
>>>>>>>
>>>>>> Bumping up this mail, I would really like to see a solution for my
>>>>>> problem or receive information why the problem is not possible not
>>>>>> solvable?
>>>>>>
>>>>>> Thanks in advance for any help,
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Jelle
>>>>> Bump for the mail, I still have this issue, and would really appreciate
>>>>> somebody taking a look at. I don't know if there is code limitation or
>>>>> that it is just a asoundrc configuration issue.
>>>>>
>>>>> Please help,
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Jelle
>>>> Hello Jelle,
>>>> could you please provide more details:
>>>> 1. what happen when you play from two sources simultaneously?
>>>> 2. what happen if you play only one source?
>>>> 3. please provide your asoundrc (at least the pcm.bluetooth part)
>>>> 4. does it work fine with other output device?
>>>>
>>>> Vale,
>>>> event
>>> Thank you for responding, I had reattached the configurations and
>>> outputs with some more info. I have already spent a bloody awful lot of
>>> time on testing with trial and error. I am not an alsa or bluetooth
>>> developer I cannot get it to work. If a capable person could get it
>>> working I would be very great full.
>>>
>>> I am also not able to get bluetooth working without adding a sound card
>>> to my system, so i put in a usb sound dongle just to get bluetooth with
>>> alsa working, alsa won't load its modules without it first finding a
>>> soundcard. It is all very very confusing.
>>>
>>> Thanks in advance for any help,
>>>
>>> Best regards,
>>>
>>> Jelle
>>>
>> Hello Jelle,
>>
>> I will setup the environment and do some tries as well. I'll come back
>> to you when some outcome will be available
>>
>> Vale,
>> Leonid Movshovich
>>
> 
> Hello Jelle,
> 
> You need to setup a passkey agent (for bluez 3.x) for connection to
> succeed. I've attached one simple
> 
> For dmix setups you have to define slaves as "pcm_slave." not "pcm."
> is .asoundrc
> 
> Hope this helps.
> 
> Vale,
> Leonid Movshovich
> 

Thank you Leonid for responding. I gave it a good try again, with trial
and error with all kind of variations of the different asoundrc files I
attached in my previous mails. I am unable to get it working with two
audio streams to one bluetooth devices (mixing).

I ended up with lots of messages like "Unknown field pcm_slave". Could
you please post a complete asoundrc file that has been tested to work
with two speaker-test -c2 programs running beside each other?

Just to be clear, I have no problem getting my bluetooth audio device to
work with single audio streams, I would like to have mixing support
working so I can play multiple audio sources at the same time.

Thanks in advance,

Jelle

  reply	other threads:[~2009-01-11 13:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-21 11:38 can somebody show me an example asound configuration for dmixing with hifi bluetooth speakers/headset Jelle de Jong
2008-12-29 10:18 ` Jelle de Jong
2009-01-06 10:07   ` Jelle de Jong
     [not found]     ` <664d43d60901061352y72c39fdctdeae5d7242ce559d@mail.gmail.com>
2009-01-07  9:52       ` Jelle de Jong
2009-01-09 11:48         ` event
2009-01-10 14:39           ` event
2009-01-11 13:33             ` Jelle de Jong [this message]
2009-01-17  1:28               ` event
2009-01-17 10:29                 ` Jelle de Jong
2009-01-26 14:02                   ` Jelle de Jong

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=4969F52D.2070405@powercraft.nl \
    --to=jelledejong@powercraft.nl \
    --cc=event.riga@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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