The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Event Streams and Event Clouds Revisited iBot Complex Event Processing RSS News 0 08-10-2007 12:50 AM
Left click select,right click copy new2ss UNIX for Dummies Questions & Answers 1 06-11-2007 12:00 PM
Unix Kernel Designing vibhory2j UNIX for Advanced & Expert Users 2 08-20-2004 06:33 PM
designing a shell newtoallthis Shell Programming and Scripting 2 09-26-2002 10:21 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-10-2007
chetan2309 chetan2309 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 7
Designing Interface to handle click event

Hi All,

Problem statement:- I want to incorporate for my project few click events which will be able to play files in M-player through C.

What I want if a user initiate a "PLAY" button from html code , this should trigger my C code... which will help me playing files on M-player

I am not able to frame how to start.. Can somebody provide me certain guidelines how to proceed.

Thanks in Anticipation
  #2 (permalink)  
Old 02-10-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,233
The simplest way would be to use the stdin interface to mplayer and feed to appropriate commands to it using a pipe, then you would need only worry about whether or not you are sending the correct commands to it, you could do this using something like php or perl using cgi, which would be simpler to implement than a C program.
  #3 (permalink)  
Old 02-10-2007
chetan2309 chetan2309 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 7
Hi Reborg,

Only limitation is this my code will be in C.......
So if u can provide in C-style....

Or if u can provide how I can read click event from GUI and will perform accordingly...

eg If I will get pause command from GUI....my c-code should send M-player stop reading from the buffer....and again if I will press play...it should start again reading from the buffer....

Thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0