LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2009, 05:12 AM   #1
borganve
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
voice over socket delaying


i created sockets to send/ recv voice data over bluetooth sockets and i can also able to play at receiver, the recorded voice i am saving it in one temporary buffer then am sending it over the socket. the problem now is that, when i initiate the communication the voice appears without any delay but as time laps it will get delay to play, so to avoid this do i need to use something special techniques to store the recorded voice and to send over the socket?
 
Old 04-01-2009, 01:58 PM   #2
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Did I not see this post the other day?

You did not present your application's design, much less any source code, so I cannot comment on your application's problem. Heck, for all I know, it is an issue with your system.

Typically, though, if data is being sent from one system to another, and this data needs to be processed, it is best to divide up the data receiver from the data processor. A multi-threaded application will do wonders for this scenario.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to UNIX socket /var/run/clamav/clamd.socket ganick Linux - Server 8 08-01-2008 01:22 PM
Control your PC with voice, gnome-voice-control for all windows managers ? frenchn00b Linux - Software 1 11-17-2007 01:13 PM
Voice Editing with Panasonic IC Voice Recorder rdabra Linux - Software 0 09-18-2006 10:05 AM
Unable to connect to UNIX socket /tmp/.esd/socket error while using grip dr_zayus69 Linux - Software 4 08-23-2005 07:28 PM
how to implement fork() in socket programming b/w server/client in voice communicatio timeout4me Programming 1 08-05-2005 04:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration