Click here to Skip to main content
15,888,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help !! Pin
ThatsAlok19-May-05 20:44
ThatsAlok19-May-05 20:44 
GeneralRe: Help !! Pin
Sreekanth Muralidharan19-May-05 23:17
Sreekanth Muralidharan19-May-05 23:17 
GeneralRe: Help !! Pin
ThatsAlok19-May-05 23:25
ThatsAlok19-May-05 23:25 
GeneralRe: Help !! Pin
Sreekanth Muralidharan20-May-05 17:27
Sreekanth Muralidharan20-May-05 17:27 
GeneralRe: Help !! Pin
ThatsAlok20-May-05 22:21
ThatsAlok20-May-05 22:21 
GeneralRe: Help !! Pin
Sreekanth Muralidharan22-May-05 17:08
Sreekanth Muralidharan22-May-05 17:08 
GeneralRe: Help !! Pin
ThatsAlok22-May-05 17:49
ThatsAlok22-May-05 17:49 
GeneralRe: Help !! Pin
Sreekanth Muralidharan23-May-05 18:33
Sreekanth Muralidharan23-May-05 18:33 
Hi Alok.

Sorry for the trouble again.

Suppose you have a file having block of data in the following pattern:
<br />
Chan: No       1    2    3    4   1   2   3   4<br />
Data           X    X    Y    D   H   J   K   L

This is the data handled by the thread. This thread is started when you press play. The controller in the device sends data to the 4 CODECs. Data corresponding to channel no 1 is sent to CODEC1, 2 to CODEC2 and so on.
In case the file pointer reaches the data(Y) corresponding to 3rd channel. The user presses a PAUSE here. The thread is suspended here.But suppose the thread takes some time to suspend itself, maybe of the order of milliseconds. But this may be quite large a time for the file pointer to move at least one point forward and settle down. The trouble may start from here. The user presses PAUSE again. The thread is resumed. The controller sees this point as a pointer to CODEC4 but it is for CODEC5. The data for CODEC4 is played on CODEC5. Channel is interchanged !! Any solutions to this deadly problem?
Regards


Sreekanth Muralidharan,
Corporate Systems Consultant [Embedded Systems],
INDIA
GeneralRe: Help !! Pin
ThatsAlok23-May-05 18:50
ThatsAlok23-May-05 18:50 
GeneralRe: Help !! Pin
Sreekanth Muralidharan23-May-05 20:31
Sreekanth Muralidharan23-May-05 20:31 
GeneralRe: Help !! Pin
ThatsAlok23-May-05 20:35
ThatsAlok23-May-05 20:35 
GeneralRe: Help !! Pin
Sreekanth Muralidharan23-May-05 23:22
Sreekanth Muralidharan23-May-05 23:22 
GeneralRe: Help !! Pin
ThatsAlok23-May-05 23:34
ThatsAlok23-May-05 23:34 
GeneralRe: Help !! Pin
Sreekanth Muralidharan23-May-05 23:24
Sreekanth Muralidharan23-May-05 23:24 
GeneralRe: Help !! Pin
ThatsAlok23-May-05 23:33
ThatsAlok23-May-05 23:33 
GeneralRe: Help !! Pin
Sreekanth Muralidharan29-May-05 22:53
Sreekanth Muralidharan29-May-05 22:53 
GeneralRe: Help !! Pin
ddmcr14-May-05 4:15
ddmcr14-May-05 4:15 
GeneralRe: Help !! Pin
Sreekanth Muralidharan22-May-05 23:07
Sreekanth Muralidharan22-May-05 23:07 
Generaldetecting if an internet connection is available Pin
Mridang Agarwalla13-May-05 21:27
Mridang Agarwalla13-May-05 21:27 
GeneralRe: detecting if an internet connection is available Pin
ThatsAlok13-May-05 23:35
ThatsAlok13-May-05 23:35 
GeneralRe: detecting if an internet connection is available Pin
Taka Muraoka13-May-05 23:38
Taka Muraoka13-May-05 23:38 
Generaldrag and drop Pin
Mridang Agarwalla13-May-05 21:23
Mridang Agarwalla13-May-05 21:23 
QuestionHow to Customize your Outlook To,Cc&amp; Bcc Button Pin
Member 196301213-May-05 20:02
Member 196301213-May-05 20:02 
QuestionHow to Customize your Outlokk To,Cc&amp; Bcc Button Pin
Member 196301213-May-05 20:02
Member 196301213-May-05 20:02 
QuestionHow to ues Unicode In Console Screen!. Pin
boylangchoi13-May-05 14:24
boylangchoi13-May-05 14:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.