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
Post a Comment