HI. I'm reading in a wave file and writing it to a sound device using ALSA. Im not a C++ guy (C#) so not very handy with its file I/O methods..
Any idea how do i change :
int rc = read(0, buffer, size);
To work with any file i.e. one whose path is specified in code as a string, instead of 0 (which is the standard input)