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...
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...
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...
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...
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...
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...
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...
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...
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...
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.