Home
last modified time | relevance | path

Searched refs:framesPerBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp39 int framesPerBuffer = 512; variable
79 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; in callback()
80 ssize_t count = fifoReader->read(buffer, framesPerBuffer); in callback()
83 memset(buffer, 0, framesPerBuffer * sfframesize); in callback()
84 count = framesPerBuffer; in callback()
198 framesPerBuffer = atoi(&arg[2]); in main()
335 buffers = malloc(framesPerBuffer * sfframesize * numBuffers); in main()
482 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; in main()
483 sf_count_t frames = framesPerBuffer; in main()
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/
DNativeMidi.java283 String framesPerBuffer = am.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER); in onCreate() local
284 if (framesPerBuffer == null) framesPerBuffer = Integer.toString(mMaxFramesPerBuffer); in onCreate()
285 mFramesPerBuffer = Integer.parseInt(framesPerBuffer); in onCreate()
/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp333 const size_t framesPerBuffer = in open() local
338 bufferCount = (suggestedFrameCount + framesPerBuffer - 1) / framesPerBuffer; in open()
347 frameCount = bufferCount * framesPerBuffer; in open()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1909 const size_t framesPerBuffer = in open() local
1914 bufferCount = (suggestedFrameCount + framesPerBuffer - 1) / framesPerBuffer; in open()
1923 frameCount = bufferCount * framesPerBuffer; in open()