SFML community forums

General => SFML website => Topic started by: Foaly on September 25, 2015, 03:21:38 pm

Title: Recording audio tutorial update
Post by: Foaly on September 25, 2015, 03:21:38 pm
Hello.
I was having a look at the the Recording audio (http://www.sfml-dev.org/tutorials/2.3/audio-recording.php) tutorial and I noticed something wrong. In the section Custom recording (http://www.sfml-dev.org/tutorials/2.3/audio-recording.php#custom-recording) there is a big red box stating that you the rate at which onProcessSamples is being called, is hard coded into SFML. To my knowledge this is configurable since 2.2 (this commit (https://github.com/SFML/SFML/commit/b9d0295c89ec91a4e1cd8912c3a77fd4a87df28b)).
Also I noticed that the tutorial doesn't mention that you are able to configure the input device used for recording anywhere. I thought since there is already a dedicated tutorial for sound recording, we might as well mention it. I think it's a very handy feature (not because I wrote it, but because I have used it quiet often :) )
So what I am asking is would anybody mind if I removed the box and wrote a section on selecting the input device?
Title: Re: Recording audio tutorial update
Post by: Laurent on September 25, 2015, 03:34:06 pm
Sure, you can submit a PR on the website repository.

Thanks :)
Title: Re: Recording audio tutorial update
Post by: Foaly on September 25, 2015, 03:42:31 pm
Ok cool!
I'll try to find some time for it on the weekend.
Title: Re: Recording audio tutorial update
Post by: Foaly on September 27, 2015, 06:14:02 pm
I sent a pull request (https://github.com/SFML/SFML-Website/pull/41), which is ready for proof reading.
It would be nice if somebody could do the french translation once it's merged, because my french is really bad ::)