I can't use 3.31 release, but 3.19 release works on the same platform

"Zhao, Halley" <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <094BCE01AFBE9646AF220B0B3F367AAB030C0117@pdsmsx413.ccr.corp.intel.com>
  Hi All:

  My Bluetooth earphone is Motorola HT820. 

  

  1. When I try to use bluez-utils 3.31 on my desktop (Ubuntu7.10), there are some issues: (but there is no such issue when I use 3.19 version on this same platform). Should I update some other package besides bluez-utils and bluez-libs?

  "

  halley@azhao2ubtg2:~$ aplay /home/halley/media/audio/Track27.wav 

  ALSA lib pcm_bluetooth.c:1501:(audioservice_recv) Error receiving data from audio service: Success(0)

  ALSA lib pcm_bluetooth.c:1517:(audioservice_expect) Bogus message BT_GETCAPABILITIES_REQ received while BT_GETCAPABILITIES_RSP was expected

  aplay: main:545: audio open error: Invalid argument

  "

  

  2. When I use bluez-utils 3.19 version, application calls snd_pcm_hw_params() sometimes will got return value "1". (The function description says it will be 0 for success and negative number for failure). The positive value makes me puzzled.

  

      /* Apply parameters */

   err = snd_pcm_hw_params(m_pAlsaPCMHandle, hwparams);

   if (err < 0) 

      {

          HXLOGL1 ( HXLOG_ADEV, "snd_pcm_hw_params: %s", 

                    snd_strerror(err));

          m_wLastError = RA_AOE_NOTENABLED;

   }

  

      /* read buffer & period sizes */

      snd_pcm_uframes_t buffer_size = 0;

      snd_pcm_uframes_t period_size = 0;

  

      if (err == 0)

      {

 

3. Ubuntu hardy has included bluez-utils 3.26 version; but I found there are many XRun errors when I use helix engine.

 

 

ZHAO, Halley (Aihua)

Email: [email protected] <mailto:[email protected]> 

Tel: +86(21)61166476

iNet: 8821-6476

SSG/OTC/UMD

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.