Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by starn

  1. starn

    other API than winsock for data transfer?

    Hi guys! Well, this project was for the school: I had to transmit sound via Fast-Ethernet and avoid TCP/IP because it had to be really fast. I found the way to transmit data with MAC adresses : I used QNX (real time ) and wrote my own drivers in C. Thanks for the answer, too bad you didn't see...
  2. starn

    queue of buffers TAILQ

    Hi, if somebody could just give a look at this code : I don't know what I do wrong....[sadeyes] Thanks a lot :-) Starn /* This little piece of code initiate 2 queue **First queue is filled of empty buffers **second queue is filled with the full buffers **PROBLEM : I can only fill the 2...
  3. starn

    Synchronisation ????

    Thanks for the help! I'll check that :-) Starn
  4. starn

    synchronisation ???

    Well,12MB is better... ;-) Do you know any function that read "x" bytes every "y" microseconds? There is no other way to play with time other than with CPU speed? I know that I'm going to have trouble trying to make real-time with Windows... Windows is not a real-time OS...
  5. starn

    synchronisation ???

    Well, I meant 64 bits at 192 kHz... Now, I m trying to take a sound file with samples of 24 bits for each channel and transform it in the AES/EBU format : 2 channels of 24 bits + 8 bits of control, that makes 64 bits. AES/EBU is a transport protocol of uncompressed sound but I dont have any...
  6. starn

    Synchronisation ????

    Hi!! I read 64 bytes from a file like this: ifstream in ("music.wav", ios::in | ios::binary ); in.read (buffer,64); What do I have to do to read these 64 bytes 192000 times a second? (192kHz) It's to simulate an input that recieve sound samples at 192 kHz.... Thanks a lot for any...
  7. starn

    Convert UDP to RTC

    Hi, try this: www.ietf.org/html.charters/avt-charter.html it's a mess but you can find there some codes... Starn
  8. starn

    synchronisation ???

    Hi!! I read 64 bytes from a file like this: ifstream in ("music.wav", ios::in | ios::binary ); in.read (buffer,64); What do I have to do to read these 64 bytes 192000 times a second? (192kHz) It's to simulate an input that recieve sound samples at 192 kHz.... Thanks a lot for any...
  9. starn

    read a file, cut it, send it...

    Thanks William, now I remember from school... I found some codes with streams and I think I m going to try this way, but thanks anyway! Starn #include <iostream> #include <fstream> #include <iomanip> using namespace std ; const int LGMAX = 20 ; main() { char nomfich [LGMAX+1] ; int n...
  10. starn

    api to fill in the ethernet frame without working with winsock in C++?

    thanks a lot StukA, i'll check that :) Starn
  11. starn

    read a file, cut it, send it...

    WAOW, thanks! It's the first time I got an answer so fast on this forum... Actually, it's the first time I got one...eh, two answers! It's maybe because my last questions were a bit weird or stupid... ;) Well, yes! At the beginning, I wanted to play a CD on a computer, send the datas with a...
  12. starn

    read a file, cut it, send it...

    Hi! I would like to take a wave file for example, read a part of it (for example 64 bits) and send it via a UDP client to a server. I already got and understand the UDP part but I don't know how to open the file, cut it in pieces,... thanks a lot for any help and sorry for my english...
  13. starn

    api to fill in the ethernet frame without working with winsock in C++?

    Hi!! I would like to find an API to fill directly in an ethernet frame without using the TCP/IP protocol (winsock)in C++. Does anyone knows about such thing? Thanks for any help and sorry for my english! :) Starn
  14. starn

    api to fill in the ethernet frame without working with winsock?

    Hi!! I would like to find an API to fill directly in an ethernet frame without using the TCP/IP protocol (winsock)in C++. Does anyone knows about such thing? Thanks for any help and sorry for my english! :) Starn

Part and Inventory Search

Back
Top