We changed our privacy policy. Read more.

Questions tagged [volume]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
5 views

unit16_t error while including library

Declaring Header is causing an error although <stdint.h> library is originally included in the distribution file, please help. Thanks in Advance.
0
votes
1answer
38 views

Why do you not need to allocate memory for int16_t in Lab4, volume?

Why, when setting up the buffer below, do you not need to use malloc to set aside memory for it? My code works fine, I just want to understand this a little better. Thanks, in advance, for the help. ...
0
votes
1answer
48 views

Lab4 trouble multipliying int16_t types

I think i managed to copy the header successfully, but when trying to compile now that i wrote the rest of the code i get the following error: volume.c:51:19: error: assigning to 'int16_t *' (aka '...
0
votes
1answer
81 views

How can I know number of samples to add it as an argument for fread and fwrite?

I'm so confused about fread and fwrite. In lab 4 " Volume", how can I know the number of samples in the input wav file? i=I need to use fread(buffer , size , qty , file operator ). So how ...
2
votes
2answers
252 views

Possible error in solution video of pset4 lab 'volume' within fread() function of header

I think there is an error in the solution video of pset4 lab called 'volume' within the fread() function of the header (of the wav file). I think they swapped 'header_size and '1' - so they swapped ...