linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
@ 2006-05-29  7:42 Guido Reimer
  2006-05-29  8:08 ` Brad Midgley
  0 siblings, 1 reply; 8+ messages in thread
From: Guido Reimer @ 2006-05-29  7:42 UTC (permalink / raw)
  To: BlueZ users


Brad,

Found this in Registry:

Bluetooth\AudioGateway:
	BTAGExtModule = BTAGExt.dll
	BTAGBModule   = \Windows\BthAGPhonebook.dll
	Capability	  = 37
	NoRoleSwitch  = 1
	SupportCLI	  = 0

Bluetooth\A2DP\Devices\1:
	Address	  = C4 A1 01 72 02 00 00 00

Bluetooth\Device\00027201a1c4:
	Class		  = 2098180 (0x200404)
	Name		  = BlueZ at mycomputer (0)
	Trusted	  = 1

Bluetooth\l2cap:
	ConfigTimeout     = 120 (0x000078)
	ConnectPacketType = 0
	ERTX              = 300 (0x00012C)
	IdleConnect       = 10
	IdlePhys          = 10
	LinkPolicy        = 15
      NoRoleSwitch      = 1
	PicoCabable       = 0
      RTX               = 60
      ScanModeControl   = 1


Does this give any informations to you?


Guido



_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
  2006-05-29  7:42 Guido Reimer
@ 2006-05-29  8:08 ` Brad Midgley
  0 siblings, 0 replies; 8+ messages in thread
From: Brad Midgley @ 2006-05-29  8:08 UTC (permalink / raw)
  To: BlueZ users

Guido

> Does this give any informations to you?

not really.

if a2recv prints out that it's using 1 channel then that would be the
problem. the less likely problem is wm is encoding with 48khz but
reporting to us that it's 44.1khz.

brad


_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
@ 2006-05-30  6:30 Guido Reimer
  2006-05-30  7:38 ` Brad Midgley
  0 siblings, 1 reply; 8+ messages in thread
From: Guido Reimer @ 2006-05-30  6:30 UTC (permalink / raw)
  To: BlueZ users

Brad

Yesterday I tried to set the channel and speed settings manualy. Set
Channels = 2 and speed 36000/44100/48000 ... but nothing changes. 

Hier is what i did ...


unsigned char audio_buffer[BUF_SIZE];
int speed, channels;
int my_speed, my_channels; // guido

int adjustsound()
{
	my_speed = 48000;
	my_channels = 2;
	if(ioctl(audio_fd,SNDCTL_DSP_CHANNELS,&my_channels)==-1) { //
guido
		perror("\nioctl no. 2\n");
		exit(1);
	}

	if(ioctl(audio_fd,SNDCTL_DSP_SPEED,&my_speed)==-1) {   / guido
		perror("\nioctl no. 3\n");
		exit(1);
	}

	return 1;
}


Still have the same problem :`(


Guido



_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
  2006-05-30  6:30 Guido Reimer
@ 2006-05-30  7:38 ` Brad Midgley
  0 siblings, 0 replies; 8+ messages in thread
From: Brad Midgley @ 2006-05-30  7:38 UTC (permalink / raw)
  To: BlueZ users

Guido

> Still have the same problem :`(

argh... well i will try to run this test with my brother's aku2 device
this weekend and see if i can see the problem.

brad


_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
@ 2006-05-30  7:41 Guido Reimer
  0 siblings, 0 replies; 8+ messages in thread
From: Guido Reimer @ 2006-05-30  7:41 UTC (permalink / raw)
  To: BlueZ users

Brad

>> Still have the same problem :`(

> argh... well i will try to run this test with my brother's aku2 device
> this weekend and see if i can see the problem.

Sounds good :`)

Guido


_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users



_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
@ 2006-06-06  9:35 Guido Reimer
  2006-06-06 14:31 ` Brad Midgley
  0 siblings, 1 reply; 8+ messages in thread
From: Guido Reimer @ 2006-06-06  9:35 UTC (permalink / raw)
  To: BlueZ users


Brad

>> Still have the same problem :`(

>argh... well i will try to run this test with my brother's aku2 device
>this weekend and see if i can see the problem.

Is there any progress?


Guido




_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
  2006-06-06  9:35 [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0 Guido Reimer
@ 2006-06-06 14:31 ` Brad Midgley
  0 siblings, 0 replies; 8+ messages in thread
From: Brad Midgley @ 2006-06-06 14:31 UTC (permalink / raw)
  To: BlueZ users

Guido

>>argh... well i will try to run this test with my brother's aku2 device
>>this weekend and see if i can see the problem.
> 
> Is there any progress?

sorry, I reported it in a new thread.

So when I tried things on an imate jamin aku2 device with a2dp hacked on
top, the audio sputtered a little bit at the start and then worked. It
sounded fine. fwiw, the codec settings it prints out upon connect are:

Channels=2, speed=44100 channel_mode = 2 allocation_method = 1 subbands
= 1 block_length = 1 min_bitpool = 48 max_bitpool = 48

I did run a2recv as a regular user, not root, so that may be why role
switch didn't work. It may be a good thing it didn't work... who knows.

One time it did disconnect on its own with the message "unsupported
signalling command: 9" but other than that, it worked as expected. I did
not play around with avrcp at all.

Brad


_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0
@ 2006-06-07  6:16 Guido Reimer
  0 siblings, 0 replies; 8+ messages in thread
From: Guido Reimer @ 2006-06-07  6:16 UTC (permalink / raw)
  To: BlueZ users

Brad,


>Channels=2, speed=44100 channel_mode = 2 allocation_method = 1 subbands
>= 1 block_length = 1 min_bitpool = 48 max_bitpool = 48

This are the same values i get:

Channels=2, speed=44100 channel_mode = 2 allocation_method = 1 subbands
=
1 block_length = 1 min_bitpool = 48 max_bitpool = 48

I noticed the first stuttering also if i try to play a2dp on my Windows
PC. Using the Bluesoleil Software. After some secounds, the stuttering
wents away and the sound is clean.

I have always tried as root user, maybe i should try as a normal user,
but could this realy be the problem?

Guido



_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-06-07  6:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06  9:35 [Bluez-users] bluetooth-alsa: a2recv stutteringsound from WM5.0 AKU2.0 Guido Reimer
2006-06-06 14:31 ` Brad Midgley
  -- strict thread matches above, loose matches on Subject: below --
2006-06-07  6:16 Guido Reimer
2006-05-30  7:41 Guido Reimer
2006-05-30  6:30 Guido Reimer
2006-05-30  7:38 ` Brad Midgley
2006-05-29  7:42 Guido Reimer
2006-05-29  8:08 ` Brad Midgley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).