You Are Here:

Community: Developer Discussion Boards

#1 Old Playback latency - 2007-10-22, 18:06

Join Date: Oct 2007
Posts: 5
noleti
Offline
Registered User
Hi all, I'm planning to write an application with some stronger requirements on the timing of the playback of simple pcm wav files. To get started I wrote some JavaME code, but I'm seeing a huge (at least for my application) delay between actually starting the playback and hearing the signal. With huge I mean 100ms in this case. I have similar problems with recording - I would need to know exactly when the recording starts.
As the final application will not be too complicated I could rewrite this in C++, has anyone experience with latencies in this case?

Thanks for any comments on this!

Ole
Last edited by noleti : 2007-10-22 at 18:17. Reason: typo
Reply With Quote

#2 Old Re: Playback latency - 2007-10-23, 23:02

Join Date: Jan 2006
Posts: 3,185
Location: Michigan
Nokia Ron's Avatar
Nokia Ron
Offline
Forum Nokia Expert
I moved this to the Java Media forum to see if they can help.

Ron


Ron Liechty
Manager Forum Nokia Online Community
ron.liechty@nokia.com
Reply With Quote

#3 Old Re: Playback latency - 2007-10-25, 16:26

Join Date: Oct 2007
Posts: 5
noleti
Offline
Registered User
I don't think the move was needed, but anyways:

I finally have the Symbian C++ setup running and made some tests: I used the AudioStream Example from Nokia and played around with the sounds to be played. The default setting in this example is to play 40960 bytes as 16bit @8kHz. I changed the frequency to 48kHz to match my audio samples. Then I played these samples (e.g. pure sine etc.) All measurements are done on a E61i which has dual ARM9@200MHz

I saw 2 problems:
-although the playback should take 40960/(2*48) ms=426,667 ms, I only hear ~250ms of it with my recording PC. The beginning is played, but not the last stuff in the stream.
- This is supported by the MaoscPlayComplete function being called ~380ms after the initial open() of the stream - less then the estimated playback time of ~420ms.

Am I missing something here? Is this the behaviour to expect?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
How to repeat audio playback in audio streaming? asheeshv General Symbian C++ 6 2007-07-11 09:33
Audio Playback Notification JamesLockett Symbian Media (Graphics & Sounds) 1 2006-06-29 08:36
How to detect supported playback rates? benjers General Symbian C++ 0 2004-09-22 10:09
Mobile Network Latency aeichler Mobile Java Networking & Messaging & Security 1 2003-06-16 16:18
What about network latency? How can I measure network latency in GSM and GP ask_expert General Browsing 1 2002-05-10 17:24

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ