Thanks babak.
Will try out soon.
BTW, For the UIComboBox.destroy, i did came across an instance whereby the toolbar is NIL and toolbar.release will cause an exception to it.
Would be safer if can put a check on it.
thanks
chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Babak
I was testing the AVRecorder and AVPlayer. If i set the AVPlayer "Repeat" property to false, calling the StartPlayList would not play the file at all. Actually, i wanted it to play once. I don't need to repeat it.
I also tried calling the play function (with Repeat = true) but it also would not play.
Is there a way to play the audio file once?
thanks
chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Babak
Thanks for the update. However, is it possible to reduce the file size of the .caf file? I am going to store the audio file into the blob field of the database. Is there a way to reduce the file size?
please advise
thanks
chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to record your voice in iOS?
please advise
thanks
chris
Hi Chris
Please download last source code:
http://sourceforge.net/p/dpfdelphiios/code/
Regards
Then see AVAudioRecorder Demo
Thanks babak.
Will try out soon.
BTW, For the UIComboBox.destroy, i did came across an instance whereby the toolbar is NIL and toolbar.release will cause an exception to it.
Would be safer if can put a check on it.
thanks
chris
Hi Babak
How to download those updates in the folder you have provided above?
I have not used svn before.
please advise
thanks
chris
Hi
You can use TortoiseSVN for updating your source code folder
Hi Babak
I was testing the AVRecorder and AVPlayer. If i set the AVPlayer "Repeat" property to false, calling the StartPlayList would not play the file at all. Actually, i wanted it to play once. I don't need to repeat it.
I also tried calling the play function (with Repeat = true) but it also would not play.
Is there a way to play the audio file once?
thanks
chris
Hi Chris
You are right, I will fix this bug tonight,
Regards
Hi Chris
Use this code:
Last edit: Babak Yaghoobi 2015-02-23
Hi Babak
Thanks for the update. However, is it possible to reduce the file size of the .caf file? I am going to store the audio file into the blob field of the database. Is there a way to reduce the file size?
please advise
thanks
chris
Hi Chris
We cant compress .caf file, but we can change some audio settings, like AudioQuality or SampleRateKey or ....
Please download last source code from :
https://sourceforge.net/p/dpfdelphiios/code/
See Demo, Improved ;)
Regards