Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: TAudioCaptureDevice Formats ?


This question is answered.


Permlink Replies: 1 - Last Post: Jan 16, 2018 9:23 PM Last Post By: Dave Nottage
madammar ellias

Posts: 111
Registered: 8/17/17
TAudioCaptureDevice Formats ?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 16, 2018 5:24 PM
how to set recording format for TAudioCaptureDevice ?

for example to PCM format 16 bit 8000 hz ?
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: TAudioCaptureDevice Formats ?
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 16, 2018 9:23 PM   in response to: madammar ellias in response to: madammar ellias
how to set recording format for TAudioCaptureDevice ?

for example to PCM format 16 bit 8000 hz ?

You cannot, without modifying the source, namely the TAndroidAudioCaptureDevice.DoStartCapture method in FMX.Media.Android.

If you need specialized formats, you're probably better off writing your own code based on the code in that unit (or find equivalent 3rd party code)

--
Dave Nottage [TeamB]
Find hints tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02