Searched refs:frag_spec (Results 1 – 4 of 4) sorted by relevance
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/ |
D | SDL_dspaudio.c | 168 int frag_spec; in DSP_OpenAudio() local 300 for ( frag_spec = 0; (0x01U<<frag_spec) < spec->size; ++frag_spec ); in DSP_OpenAudio() 301 if ( (0x01U<<frag_spec) != spec->size ) { in DSP_OpenAudio() 306 frag_spec |= 0x00020000; /* two fragments, for low latency */ in DSP_OpenAudio() 311 (frag_spec >> 16), 1<<(frag_spec&0xFFFF)); in DSP_OpenAudio() 313 if ( ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &frag_spec) < 0 ) { in DSP_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/ |
D | SDL_artsaudio.c | 265 int bits, frag_spec; in ARTS_OpenAudio() local 320 for ( frag_spec = 0; (0x01<<frag_spec) < spec->size; ++frag_spec ); in ARTS_OpenAudio() 321 if ( (0x01<<frag_spec) != spec->size ) { in ARTS_OpenAudio() 325 frag_spec |= 0x00020000; /* two fragments, for low latency */ in ARTS_OpenAudio() 328 SDL_NAME(arts_stream_set)(stream, ARTS_P_PACKET_SETTINGS, frag_spec); in ARTS_OpenAudio() 330 SDL_NAME(arts_stream_set)(stream, ARTS_P_PACKET_SIZE, frag_spec&0xffff); in ARTS_OpenAudio() 331 SDL_NAME(arts_stream_set)(stream, ARTS_P_PACKET_COUNT, frag_spec>>16); in ARTS_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
D | SDL_dmaaudio.c | 253 int frag_spec; in DMA_ReopenAudio() local 268 for ( frag_spec = 0; (0x01<<frag_spec) < spec->size; ++frag_spec ); in DMA_ReopenAudio() 269 if ( (0x01<<frag_spec) != spec->size ) { in DMA_ReopenAudio() 275 if ( ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &frag_spec) < 0 ) { in DMA_ReopenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/ |
D | SDL_umsaudio.c | 235 int frag_spec; in UMS_OpenAudio() local 318 for ( frag_spec = 0; (0x01<<frag_spec) < spec->size; ++frag_spec ); in UMS_OpenAudio() 319 if ( (0x01<<frag_spec) != spec->size ) { in UMS_OpenAudio() 323 if ( frag_spec > 2048 ) frag_spec = 2048; in UMS_OpenAudio() 336 rc = UADSetDMABufferSize(this, frag_spec, &outBufSize ); in UMS_OpenAudio()
|