Searched refs:SOUND_IDLE (Results 1 – 7 of 7) sorted by relevance
404 sp->inuse = SOUND_IDLE; in free_snd_info()705 (sp->inuse != SOUND_IDLE) && in snd_ok()742 ((sp->inuse == SOUND_IDLE) && (sp->allocated_chans >= desired_chans))) in find_free_sound_slot()748 if ((sp) && (sp->inuse == SOUND_IDLE) && (sp->allocated_chans == desired_chans)) return(i); in find_free_sound_slot()753 if ((sp) && (sp->inuse == SOUND_IDLE) && (sp->allocated_chans > desired_chans)) return(i); in find_free_sound_slot()759 if (sp->inuse == SOUND_IDLE) return(i); in find_free_sound_slot()
649 if ((sp) && (sp->inuse != SOUND_IDLE)) in stop_playing_with_toggle()1331 if (sp->inuse == SOUND_IDLE) return(NULL); in play_channel_1()1363 if (sp->inuse == SOUND_IDLE) return(NULL); in play_sound_1()1609 if ((sp) && ((sp->inuse == SOUND_IDLE) || (sp->playing == 0))) in fill_dac_buffers()2588 sp->inuse = SOUND_IDLE; in free_player_sound()
1323 sp->inuse = SOUND_IDLE; in snd_close_file()1330 sp->inuse = SOUND_IDLE; in snd_close_file()
112 typedef enum {SOUND_IDLE, SOUND_NORMAL, SOUND_WRAPPER, SOUND_REGION, SOUND_READER} sound_inuse_t; enumerator
5030 if (sp->inuse == SOUND_IDLE) return(NULL); in init_sample_read_any_with_bufsize()6768 case SOUND_IDLE: name = "idle source"; break; in sampler_to_string()
33 if ((!sp) || (!(sp->active)) || (sp->inuse == SOUND_IDLE))4213 if ((sp->inuse == SOUND_IDLE) ||
3775 sp->inuse = SOUND_IDLE; in g_close_sound_1()