android - Determine device's audio interface bits -


i'm using csound output audio android device. correctly configure csound found how determine hardware audio buffer , sample rate, way:

    audiomanager audiomanager = (audiomanager)                  devicesamplerate = integer.parseint(audiomanager.getproperty(audiomanager.property_output_sample_rate));     devicebuffersize = integer.parseint(audiomanager.getproperty(audiomanager.property_output_frames_per_buffer)); 

but determine csound's software buffer size practice calculate on basis of number of bits used device's audio interface. alas, kind of number types using fill hardware buffer.

how can determine it, or @ least configure it?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -