Home
last modified time | relevance | path

Searched refs:NUM_BUFFERS (Results 1 – 9 of 9) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/audio/windx5/
DSDL_dx5audio.h38 int NUM_BUFFERS; member
48 #define NUM_BUFFERS (this->hidden->NUM_BUFFERS) macro
DSDL_dx5audio.c362 spot += NUM_BUFFERS; in DX5_GetAudioBuf()
371 cursor = (cursor+1)%NUM_BUFFERS; in DX5_GetAudioBuf()
594 notify_positions = (DSBPOSITIONNOTIFY *)SDL_malloc(NUM_BUFFERS* in CreateAudioEvent()
607 for ( i=0; i<NUM_BUFFERS; ++i ) { in CreateAudioEvent()
612 NUM_BUFFERS, notify_positions); in CreateAudioEvent()
669 NUM_BUFFERS = -1; in DX5_OpenAudio()
672 NUM_BUFFERS = CreatePrimary(sound, mainwin, &mixbuf, in DX5_OpenAudio()
676 if ( NUM_BUFFERS < 0 ) { in DX5_OpenAudio()
677 NUM_BUFFERS = CreateSecondary(sound, mainwin, &mixbuf, in DX5_OpenAudio()
679 if ( NUM_BUFFERS < 0 ) { in DX5_OpenAudio()
/external/qemu/distrib/sdl-1.2.15/src/audio/windib/
DSDL_dibaudio.c180 next_buffer = (next_buffer+1)%NUM_BUFFERS; in DIB_PlayAudio()
195 left = NUM_BUFFERS; in DIB_WaitDone()
196 for ( i=0; i<NUM_BUFFERS; ++i ) { in DIB_WaitDone()
227 for ( i=0; i<NUM_BUFFERS; ++i ) { in DIB_CloseAudio()
254 for ( i = 0; i < NUM_BUFFERS; ++i ) in DIB_OpenAudio()
322 mixbuf = (Uint8 *)SDL_malloc(NUM_BUFFERS*spec->size); in DIB_OpenAudio()
327 for ( i = 0; i < NUM_BUFFERS; ++i ) { in DIB_OpenAudio()
DSDL_dibaudio.h32 #define NUM_BUFFERS 2 /* -- Don't lower this! */ macro
39 WAVEHDR wavebuf[NUM_BUFFERS]; /* Wave audio fragments */
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/
DSDL_mmeaudio.c32 static BOOL inUse[NUM_BUFFERS];
178 mixbuf = (Uint8 *)mmeAllocBuffer(NUM_BUFFERS * (spec->size)); in MME_OpenAudio()
184 for (i = 0; i < NUM_BUFFERS; i++) { in MME_OpenAudio()
219 next_buffer = (next_buffer+1)%NUM_BUFFERS; in MME_PlayAudio()
228 for (i = 0; i < NUM_BUFFERS; i++) in MME_WaitDone()
DSDL_mmeaudio.h33 #define NUM_BUFFERS 2 macro
37 WAVEHDR wHdr[NUM_BUFFERS];
/external/sonivox/arm-wt-22k/host_src/
Deas_main.c45 #define NUM_BUFFERS 8 macro
139 …for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChann… in PlayFile()
283 …ize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; in main()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_main.c45 #define NUM_BUFFERS 8 macro
136 …for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChann… in PlayFile()
280 …ize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; in main()
/external/sonivox/arm-fm-22k/host_src/
Deas_main.c45 #define NUM_BUFFERS 8 macro
136 …for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChann… in PlayFile()
280 …ize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; in main()