Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Desktop display Pin
Hamid_RT3-May-07 6:57
Hamid_RT3-May-07 6:57 
QuestionRe: Desktop display Pin
David Crow3-May-07 9:46
David Crow3-May-07 9:46 
AnswerRe: Desktop display Pin
Hamid_RT5-May-07 4:53
Hamid_RT5-May-07 4:53 
QuestionHow to check if a file is blocked in properties - security section Pin
sp_ranjan3-May-07 0:54
sp_ranjan3-May-07 0:54 
Questionreg: database connection in vc++6 Pin
grc4123-May-07 0:22
grc4123-May-07 0:22 
AnswerRe: reg: database connection in vc++6 Pin
_AnsHUMAN_ 3-May-07 0:29
_AnsHUMAN_ 3-May-07 0:29 
QuestionGenerating and streaming audio Pin
Ali Tavakol3-May-07 0:09
Ali Tavakol3-May-07 0:09 
AnswerRe: Generating and streaming audio Pin
Roger Stoltz3-May-07 1:39
Roger Stoltz3-May-07 1:39 
I interpret this as two different problems:
  1. Reading the streamed audio from the USB port
  2. Playing the audio


Regarding problem #2 I think you can benefit from using the VideoLAN streaming server/player[^]. It listens to ports commonly used for streaming. To set up the streaming session it requires a description in SDP format sent with RTSP protocol to inform it on what ports the audio data can be read.
You have to read up on this.

Regarding problem #1 I suspect you have to write an adapter that reads the audio data from the USB port, translates it and sends it in UDP/RTP packets to ports that VideoLAN is listening to. I assume the data is coded using a common codec such as MPEG4 or similar. VideoLAN supports a lot of codecs, so just hope that it supports the one you, or your device, uses.

There's a lot to be done here, but to give you better guidance you have to describe your environment setup further:
  • What kind of device do you connect to the USB port?
  • Can you connect to the USB device as you would connect to a serial device?
  • How is the audio data formatted?
  • What codec is used?



"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralRe: Generating and streaming audio Pin
Ali Tavakol3-May-07 7:51
Ali Tavakol3-May-07 7:51 
GeneralRe: Generating and streaming audio Pin
Mark Salsbery3-May-07 9:40
Mark Salsbery3-May-07 9:40 
GeneralRe: Generating and streaming audio Pin
Ali Tavakol4-May-07 8:38
Ali Tavakol4-May-07 8:38 
GeneralRe: Generating and streaming audio Pin
Mark Salsbery4-May-07 9:09
Mark Salsbery4-May-07 9:09 
GeneralRe: Generating and streaming audio Pin
Roger Stoltz3-May-07 11:28
Roger Stoltz3-May-07 11:28 
GeneralRe: Generating and streaming audio Pin
Ali Tavakol4-May-07 8:34
Ali Tavakol4-May-07 8:34 
GeneralRe: Generating and streaming audio Pin
Roger Stoltz4-May-07 11:54
Roger Stoltz4-May-07 11:54 
QuestionHow to assign the returned value of function to any variable Pin
chandrikav3-May-07 0:01
chandrikav3-May-07 0:01 
AnswerRe: How to assign the returned value of function to any variable Pin
Rajesh R Subramanian3-May-07 0:08
professionalRajesh R Subramanian3-May-07 0:08 
AnswerWrong forum? Pin
CPallini3-May-07 0:08
mveCPallini3-May-07 0:08 
QuestionLNK2019 Pin
meg223-May-07 0:00
meg223-May-07 0:00 
AnswerRe: LNK2019 Pin
toxcct3-May-07 0:05
toxcct3-May-07 0:05 
AnswerRe: LNK2019 Pin
Cedric Moonen3-May-07 0:41
Cedric Moonen3-May-07 0:41 
AnswerRe: LNK2019 Pin
Sameerkumar Namdeo3-May-07 1:14
Sameerkumar Namdeo3-May-07 1:14 
GeneralRe: LNK2019 Pin
Cedric Moonen3-May-07 1:22
Cedric Moonen3-May-07 1:22 
GeneralRe: LNK2019 Pin
toxcct3-May-07 2:29
toxcct3-May-07 2:29 
GeneralRe: LNK2019 Pin
Cedric Moonen3-May-07 4:22
Cedric Moonen3-May-07 4:22 

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.