Searched refs:framesPerBufferPart (Results 1 - 3 of 3) sorted by relevance

/haiku/src/tests/kits/game/push_game_sound_test/
H A Dpush_game_sound_sine.cpp23 size_t framesPerBufferPart = 256; local
35 framesPerBufferPart = size;
42 printf("frames per buffer part: %ld\n", framesPerBufferPart);
51 gsFormat.buffer_size = framesPerBufferPart;
53 BPushGameSound pushGameSound(framesPerBufferPart, &gsFormat,
79 size_t sampleCount = framesPerBufferPart * bufferPartCount;
88 usleep(1000000 * framesPerBufferPart / gsFormat.frame_rate);
H A Dpush_game_sound_triangle.cpp23 size_t framesPerBufferPart = 256; local
35 framesPerBufferPart = size;
46 printf("frames per buffer part: %ld\n", framesPerBufferPart);
55 BPushGameSound pushGameSound(framesPerBufferPart, &gsFormat,
H A Dpush_game_sound_test.cpp23 size_t framesPerBufferPart = 256; local
35 framesPerBufferPart = size;
46 printf("frames per buffer part: %ld\n", framesPerBufferPart);
99 BPushGameSound pushGameSound(framesPerBufferPart, &gsFormat,
124 size_t bufferPartSize = framesPerBufferPart
176 snooze(1000 * framesPerBufferPart / gsFormat.frame_rate);

Completed in 33 milliseconds