Home
last modified time | relevance | path

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

/dports/audio/snd/snd-21.2/
H A Dsnd-data.c404 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()
H A Dsnd-dac.c649 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()
H A Dsnd-file.c1323 sp->inuse = SOUND_IDLE; in snd_close_file()
1330 sp->inuse = SOUND_IDLE; in snd_close_file()
H A Dsnd-0.h112 typedef enum {SOUND_IDLE, SOUND_NORMAL, SOUND_WRAPPER, SOUND_REGION, SOUND_READER} sound_inuse_t; enumerator
H A Dsnd-edits.c5030 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()
H A Dsnd-chn.c33 if ((!sp) || (!(sp->active)) || (sp->inuse == SOUND_IDLE))
4213 if ((sp->inuse == SOUND_IDLE) ||
H A Dsnd-snd.c3775 sp->inuse = SOUND_IDLE; in g_close_sound_1()