Skip to contentSkip to conversation

a2play and rtc/pthread

Bluez-devel Nat Butler 2 participants 2 messages Aug 30, 2005 – Sep 7, 2005 Bluetooth drivers

lore
Share & tools
lore

Nat Butler

author
#0 lore raw

Hi Brad,

I tried the new a2play code on my Motorola HT820.

Quoted 6 lines

I just committed changes to a2play so it can use the real time clock inside a separate thread for sending frames to the headset. Please try it out. (flag is -p)

The values to tweak are TICKS and the first "100" in the frameticks assignment.

I'm finding that the sound cuts out after about 10 seconds of playing an mp3 with -p. I haven't found a value to replace the 100 which corrects that.

Per a previous suggestion of yours, I tried using different values from 87 for the itimer option. A value of 84 seems to work decently with this headset. The sound cuts out for a fraction of a second every 15 seconds or so. I was unable to improve this with different values or by using a range of values with either the -t or -t -t options.

-Nat

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

Nat,

FWIW, I found and fixed a problem in the way we interpreted the rtc return, but I still kept having problems with using what libsbc returned for the duration of a frame.

Brad

Quoted 20 lines · Nat Butler

Hi Brad,

I tried the new a2play code on my Motorola HT820.

Quoted 6 lines

I just committed changes to a2play so it can use the real time clock inside a separate thread for sending frames to the headset. Please try it out. (flag is -p)

The values to tweak are TICKS and the first "100" in the frameticks assignment.

I'm finding that the sound cuts out after about 10 seconds of playing an mp3 with -p. I haven't found a value to replace the 100 which corrects that.

Per a previous suggestion of yours, I tried using different values from 87 for the itimer option. A value of 84 seems to work decently with this headset. The sound cuts out for a fraction of a second every 15 seconds or so. I was unable to improve this with different values or by using a range of values with either the -t or -t -t options.

-Nat

Quoted 9 lines

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel