Home
last modified time | relevance | path

Searched refs:player_state (Results 1 – 25 of 103) sorted by relevance

12345

/dports/audio/shairport-sync/shairport-sync-3.3.9/
H A Dactivity_monitor.c50 enum ps_state { ps_inactive, ps_active } player_state; variable
116 player_state = active == 0 ? ps_inactive : ps_active; in activity_monitor_signify_activity()
132 if ((state == am_inactive) && (player_state == ps_active)) { in activity_monitor_signify_activity()
135 } else if ((state == am_active) && (player_state == ps_inactive) && in activity_monitor_signify_activity()
177 player_state = ps_inactive; in activity_monitor_thread_code()
184 while (player_state != ps_active) in activity_monitor_thread_code()
191 while (player_state != ps_inactive) in activity_monitor_thread_code()
220 while ((player_state != ps_active) && (rc != ETIMEDOUT)) { in activity_monitor_thread_code()
230 if (player_state == ps_active) in activity_monitor_thread_code()
H A Dmetadata_hub.c569 changed = ((metadata_store.player_state != PS_PLAYING) ||
571 metadata_store.player_state = PS_PLAYING;
575 changed = ((metadata_store.player_state != PS_STOPPED) ||
577 metadata_store.player_state = PS_STOPPED;
581 changed = (metadata_store.player_state != PS_PAUSED);
582 metadata_store.player_state = PS_PAUSED;
586 changed = (metadata_store.player_state != PS_PLAYING);
587 metadata_store.player_state = PS_PLAYING;
/dports/audio/mpz/mpz-1.0.19/app/playback/
H A Ddispatch.cpp10 return player_state; in state()
14 auto selected_playlist = playlists->playlistByTrackUid(player_state.selectedTrack()); in on_nextRequested()
17 auto selected_track = selected_playlist->trackBy(player_state.selectedTrack()); in on_nextRequested()
18 if (!player_state.followedCursor() && player_state.playingTrack() != selected_track.uid()) { in on_nextRequested()
26 quint64 current_track_uid = player_state.playingTrack(); in on_nextRequested()
61 quint64 current_track_uid = player_state.playingTrack(); in on_prevRequested()
99 quint64 selected_track_uid = player_state.selectedTrack(); in on_startRequested()
H A Ddispatch.h30 PlayerState player_state; variable
/dports/games/pengupop/pengupop-2.2.6/
H A Dcommon.h16 struct player_state struct
67 int stick(struct player_state* p, int bx, int by, int color);
68 void mark_dirty(struct player_state* p, int x, int y, int width, int height);
69 void cond_blit(struct player_state* p, SDL_Surface* source, SDL_Rect* source_rect, SDL_Surface* des…
71 void shoot(struct player_state* p, int color, int velocity);
72 void init_player(struct player_state* p);
H A Dmain.c179 static struct player_state players[2];
293 void mark_dirty(struct player_state* p, int x, int y, int width, int height) in mark_dirty()
308 static void scan(struct player_state* p, int x, int y, int color, int* matches, int* match_count) in scan()
354 void remove_bubble(struct player_state* p, int x, int y, int evil) in remove_bubble()
596 static int test_group(struct player_state* p, int bx, int by, int color) in test_group()
621 int stick(struct player_state* p, int bx, int by, int color) in stick()
773 struct player_state* p = &players[player]; in game_tick()
1086 static int random_bubble(struct player_state* p) in random_bubble()
1110 void shoot(struct player_state* p, int color, int velocity) in shoot()
1150 void init_player(struct player_state* p) in init_player()
[all …]
/dports/audio/siren/siren-0.9/
H A Dplayer.c69 enum player_state { enum
85 static enum player_state player_state = PLAYER_STATE_STOPPED; variable
331 if (player_state == PLAYER_STATE_PLAYING) in player_pause()
344 if (player_state == PLAYER_STATE_PLAYING) { in player_play()
493 player_state = PLAYER_STATE_PLAYING; in player_playback_handler()
504 player_state = PLAYER_STATE_PAUSED; in player_playback_handler()
511 player_state = PLAYER_STATE_PLAYING; in player_playback_handler()
522 player_state = PLAYER_STATE_STOPPED; in player_playback_handler()
579 switch (player_state) { in player_print_status()
711 if (player_state == PLAYER_STATE_STOPPED) in player_seek()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/test/external/external_media_tests/media_utils/
H A Dyoutube_puppeteer.py318 player_state = player_state_info_kwargs['player_state']
320 player_state == self._yt_player_state['UNSTARTED'])
322 player_state == self._yt_player_state['ENDED'])
324 player_state == self._yt_player_state['PLAYING'])
326 player_state == self._yt_player_state['PAUSED'])
328 player_state == self._yt_player_state['BUFFERING'])
330 player_state == self._yt_player_state['CUED'])
/dports/games/angband/Angband-4.2.2/src/
H A Dplayer-calcs.h110 void calc_bonuses(struct player *p, struct player_state *state, bool known_only,
112 void calc_digging_chances(struct player_state *state, int chances[DIGGING_MAX]);
114 struct player_state *state, int extra_blows);
H A Dplayer.h398 struct player_state { struct
589 struct player_state state; /* Calculatable state */
590 struct player_state known_state; /* What the player can know of the above */
H A Dplayer-calcs.c1191 static int average_spell_stat(struct player *p, struct player_state *state) in average_spell_stat()
1424 static void calc_mana(struct player *p, struct player_state *state, bool update) in calc_mana()
1542 static void calc_light(struct player *p, struct player_state *state, in calc_light()
1595 void calc_digging_chances(struct player_state *state, int chances[DIGGING_MAX]) in calc_digging_chances()
1622 struct player_state *state, int extra_blows) in calc_blows()
1659 static int weight_limit(struct player_state *state) in weight_limit()
1690 static void calc_shapechange(struct player_state *state, in calc_shapechange()
1777 void calc_bonuses(struct player *p, struct player_state *state, bool known_only, in calc_bonuses()
2247 struct player_state state = p->state; in update_bonuses()
2248 struct player_state known_state = p->known_state; in update_bonuses()
H A Dobj-info.c445 static void calculate_melee_crits(struct player_state *state, int weight, in calculate_melee_crits()
474 static int o_calculate_melee_crits(struct player_state state, in o_calculate_melee_crits()
489 static void calculate_missile_crits(struct player_state *state, int weight, in calculate_missile_crits()
511 static int o_calculate_missile_crits(struct player_state state, in o_calculate_missile_crits()
612 struct player_state state; in obj_known_blows()
768 struct player_state state; in obj_known_damage()
958 struct player_state state; in o_obj_known_damage()
1330 struct player_state state; in obj_known_misc_combat()
1418 struct player_state state; in obj_known_digging()
/dports/games/adonthell-wastesedge/wastesedge-0.3.8/scripts/actions/
H A Dtalk.py38 player_state = requester.is_paused ()
60 …dlg.py_signal_connect (self.restore_schedule, adonthell.win_event_CLOSE, (player_state, npc_state,…
/dports/multimedia/gmerlin/gmerlin-1.2.0/apps/player/
H A Dplayerwindow.c245 if(win->gmerlin->player_state == BG_PLAYER_STATE_PAUSED) in seek_change_callback()
410 win->gmerlin->player_state = bg_msg_get_arg_int(msg, 0); in handle_message()
412 switch(win->gmerlin->player_state) in handle_message()
415 display_set_state(win->display, win->gmerlin->player_state, NULL); in handle_message()
418 display_set_state(win->display, win->gmerlin->player_state, NULL); in handle_message()
422 display_set_state(win->display, win->gmerlin->player_state, in handle_message()
427 display_set_state(win->display, win->gmerlin->player_state, &arg_f_1); in handle_message()
430 display_set_state(win->display, win->gmerlin->player_state, NULL); in handle_message()
437 display_set_state(win->display, win->gmerlin->player_state, NULL); in handle_message()
441 display_set_state(win->display, win->gmerlin->player_state, NULL); in handle_message()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/media/router/providers/cast/
H A Dcast_media_controller.cc246 const base::Value* player_state = status_value.FindKey("playerState"); in UpdateMediaStatus() local
247 if (player_state && player_state->is_string()) { in UpdateMediaStatus()
248 const std::string& state = player_state->GetString(); in UpdateMediaStatus()
/dports/games/hoverboard-sdl/hoverboard-sdl-0.7.3/src/
H A Dgame.cc252 game_state_.player_state = PlayerState::ASCENDING; in Update()
254 game_state_.player_state = PlayerState::DESCENDING; in Update()
256 game_state_.player_state = PlayerState::MOVING; in Update()
258 game_state_.player_state = PlayerState::STILL; in Update()
345 SDL2pp::Rect(rect.w * (int)effect.player_state, 0, rect.w, rect.h), in Render()
360 …SDL2pp::Rect(GetPlayerRect().w * (int)game_state_.player_state, 0, GetPlayerRect().w, GetPlayerRec… in Render()
718 game_state_.player_state, in SaveLocation()
733 game_state_.player_state, in JumpToLocation()
747 game_state_.player_state, in JumpToLocation()
H A Dgame.hh153 PlayerState player_state; member
187 PlayerState player_state = PlayerState::STILL; member
/dports/multimedia/gmtk/gmtk-1.0.9/src/
H A Dgmtk_media_player.c294 switch (player->player_state) { in gmtk_media_player_log_state()
440 player->player_state = PLAYER_STATE_DEAD; in gmtk_media_player_init()
1009 if (player->player_state == PLAYER_STATE_RUNNING) { in gmtk_media_player_restart()
1029 if (player->player_state == PLAYER_STATE_RUNNING) { in gmtk_media_player_set_uri()
1057 if (player->player_state == PLAYER_STATE_DEAD) { in gmtk_media_player_set_state()
1093 if (player->player_state == PLAYER_STATE_RUNNING) { in gmtk_media_player_set_state()
1151 if (player->player_state == PLAYER_STATE_RUNNING) { in gmtk_media_player_send_command()
3054 player->player_state = PLAYER_STATE_DEAD; in launch_mplayer()
3105 player->player_state = PLAYER_STATE_DEAD; in thread_complete()
3134 if (player->player_state == PLAYER_STATE_DEAD) { in thread_reader_error()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/media_router/browser/android/
H A Dflinging_controller_bridge.cc104 int player_state = Java_MediaStatusBridge_playerState(env, j_status); in OnMediaStatusUpdated() local
106 switch (player_state) { in OnMediaStatusUpdated()
/dports/games/devilutionX/devilutionX-1.2.1/Source/
H A Dmulti.cpp41 int player_state[MAX_PLRS]; variable
207 if (player_state[i] & PS_CONNECTED && i != pnum) in multi_handle_turn_upper_bit()
238 if (player_state[i] & PS_TURN_ARRIVED) { in multi_msg_countdown()
309 if (!(player_state[i] & PS_ACTIVE) && player_state[i] & PS_CONNECTED) { in multi_check_drop_player()
343 nState = player_state[i]; in multi_begin_timeout()
H A Dmulti.h45 extern int player_state[MAX_PLRS];
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dgamewrap.c212 State player_state; in save_game() local
242 EDMS_get_state(objs[PLAYER_OBJ].info.ph, &player_state); in save_game()
243 LG_memcpy(player_struct.edms_state, &player_state, sizeof(fix) * 12); in save_game()
/dports/audio/picard/picard-release-2.6.2/picard/ui/
H A Dplayertoolbar.py161 player_state = player.state()
162 if player_state != QtMultimedia.QMediaPlayer.StoppedState:
166 if player_state == QtMultimedia.QMediaPlayer.PlayingState:
168 elif player_state == QtMultimedia.QMediaPlayer.PausedState:
/dports/www/chromium-legacy/chromium-88.0.4324.182/fuchsia/engine/browser/
H A Dmedia_player_impl_unittest.cc217 EXPECT_EQ(initial_info.player_status().player_state(), in TEST_F()
265 EXPECT_EQ(delta.player_status().player_state(), in TEST_F()
293 state_after_change.emplace(delta.player_status().player_state()); in TEST_F()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dd_clisrv.c1578 …netbuffer->u.control.player_state = (player_num < MAXPLAYERS)? player_state[player_num] : PS_unuse… in SV_Send_control()
3428 player_state[playernum] = PS_unused; in CL_RemovePlayer()
3705 player_state[i] = PS_unused; in SV_ResetServer()
3817 player_state[pn] = PS_added; // pending in SV_get_player_num()
3850 player_state[newplayernum] = new_state; in SV_commit_player()
3862 byte pst = player_state[pn]; in update_player_state()
3883 player_state[pn] = new_player_state; in update_player_state()
3911 byte ps = player_state[pn]; in update_player_counts()
3995 player_state[pn] = PS_added_commit; in SV_Send_AddPlayer()
4058 player_state[newplayernum]= PS_player; in Got_NetXCmd_AddPlayer()
[all …]

12345