public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: maho+bluez <maho+bluez@pagema.net>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] problem with alsa/bluetooth device
Date: Wed, 17 Oct 2007 17:53:33 +0200	[thread overview]
Message-ID: <47162FFD.3080408@pagema.net> (raw)
In-Reply-To: <4716261D.40902@pagema.net>

maho+bluez wrote:
> [...]
> Next, I have run:
> #v+
> maho@tereska:~/tmp$ aplay -v -Dbluetooth /tmp/ee.wav
> Playing WAVE '/tmp/ee.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
> ALSA lib pcm_bluetooth.c:417:(bluetooth_hsp_hw_params) Protocol not
> available (92)
> Bluetooth Audio Device
> Its setup is:
>   stream       : PLAYBACK
>   access       : RW_INTERLEAVED
>   format       : S16_LE
>   subformat    : STD
>   channels     : 1
>   rate         : 8000
>   exact rate   : 8000 (8000/1)
>   msbits       : 16
>   buffer_size  : 4008
>   period_size  : 24
>   period_time  : 3000
>   tick_time    : 0
>   tstamp_mode  : NONE
>   period_step  : 1
>   sleep_min    : 0
>   avail_min    : 24
>   xfer_align   : 24
>   start_threshold  : 4008
>   stop_threshold   : 4008
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 9025213653250473984
> aplay: pcm_write:1265: write error: Invalid argument
>   
And interesting thing: arecord reports the same error message...

#v+
maho@tereska:~/tmp$ LC_ALL=C arecord -D bluetooth -f S16_LE  > /tmp/eee.wav
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
ALSA lib pcm_bluetooth.c:417:(bluetooth_hsp_hw_params) Protocol not
available (92)
#v-

, but /tmp/eee.wav contains properly recorded sound.

Any ideas?

regards

maHo



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-10-17 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17 15:11 [Bluez-users] problem with alsa/bluetooth device maho+bluez
2007-10-17 15:53 ` maho+bluez [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=47162FFD.3080408@pagema.net \
    --to=maho+bluez@pagema.net \
    --cc=bluez-users@lists.sourceforge.net \
    /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