Searched defs:periods (Results 1 - 2 of 2) sorted by relevance
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_BsdOS_ALSA_PCM.c | 51 // For very small buffers, only 2 periods are used. 256 unsigned int periods; member in struct:tag_AlsaPcmInfo 309 unsigned int rrate, periodTime, periods; local 369 periods = 2; 370 ret = snd_pcm_hw_params_set_periods_near(info->handle, info->hwParams, &periods, &dir); 372 ERROR2("Unable to set period count to %d: %s\n", /*periods*/ 2, snd_strerror(ret)); 469 snd_pcm_hw_params_get_periods(info->hwParams, &(info->periods), &dir); 472 TRACE3(" DAUDIO_Open: period size = %d frames, periods = %d. Buffer size: %d bytes.\n", 473 (int) info->periodSize, info->periods, info->bufferSizeInBytes);
|
H A D | PLATFORM_API_LinuxOS_ALSA_PCM.c | 51 // For very small buffers, only 2 periods are used. 256 unsigned int periods; member in struct:tag_AlsaPcmInfo 309 unsigned int rrate, periodTime, periods; local 369 periods = 2; 370 ret = snd_pcm_hw_params_set_periods_near(info->handle, info->hwParams, &periods, &dir); 372 ERROR2("Unable to set period count to %d: %s\n", /*periods*/ 2, snd_strerror(ret)); 469 snd_pcm_hw_params_get_periods(info->hwParams, &(info->periods), &dir); 472 TRACE3(" DAUDIO_Open: period size = %d frames, periods = %d. Buffer size: %d bytes.\n", 473 (int) info->periodSize, info->periods, info->bufferSizeInBytes);
|
Completed in 48 milliseconds