Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/test/
A Dtestaudiocapture.c23 static SDL_AudioDeviceID devid_in = 0; variable
42 SDL_PauseAudioDevice(devid_in, SDL_FALSE); in loop()
46 SDL_PauseAudioDevice(devid_in, SDL_TRUE); in loop()
52 if (SDL_GetAudioDeviceStatus(devid_in) == SDL_AUDIO_PLAYING) { in loop()
63 SDL_PauseAudioDevice(devid_in, 1); in loop()
64 SDL_CloseAudioDevice(devid_in); in loop()
81 const Uint32 br = SDL_DequeueAudio(devid_in, buf, sizeof (buf)); in loop()
148 devid_in = SDL_OpenAudioDevice(argv[1], SDL_TRUE, &spec, &spec, 0); in main()
149 if (!devid_in) { in main()

Completed in 2 milliseconds