Home
last modified time | relevance | path

Searched refs:play_count (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/audio/sdl2_mixer/SDL2_mixer-2.0.4/
H A Dmusic_timidity.c33 int play_count; member
106 static int TIMIDITY_Play(void *context, int play_count) in TIMIDITY_Play() argument
109 music->play_count = play_count; in TIMIDITY_Play()
126 if (!music->play_count) { in TIMIDITY_GetSome()
144 if (music->play_count == 1) { in TIMIDITY_GetSome()
146 music->play_count = 0; in TIMIDITY_GetSome()
148 int play_count = -1; in TIMIDITY_GetSome() local
149 if (music->play_count > 0) { in TIMIDITY_GetSome()
150 play_count = (music->play_count - 1); in TIMIDITY_GetSome()
152 if (TIMIDITY_Play(music, play_count) < 0) { in TIMIDITY_GetSome()
H A Dmusic_cmd.c47 int play_count; member
152 static int MusicCMD_Play(void *context, int play_count) in MusicCMD_Play() argument
156 music->play_count = play_count; in MusicCMD_Play()
211 if (music->play_count != 1) { in MusicCMD_IsPlaying()
212 int play_count = -1; in MusicCMD_IsPlaying() local
213 if (music->play_count > 0) { in MusicCMD_IsPlaying()
214 play_count = (music->play_count - 1); in MusicCMD_IsPlaying()
216 MusicCMD_Play(music, play_count); in MusicCMD_IsPlaying()
H A Dmusic_modplug.c109 int play_count; member
209 static int MODPLUG_Play(void *context, int play_count) in MODPLUG_Play() argument
212 music->play_count = play_count; in MODPLUG_Play()
227 if (!music->play_count) { in MODPLUG_GetSome()
239 if (music->play_count == 1) { in MODPLUG_GetSome()
240 music->play_count = 0; in MODPLUG_GetSome()
243 int play_count = -1; in MODPLUG_GetSome() local
244 if (music->play_count > 0) { in MODPLUG_GetSome()
245 play_count = (music->play_count - 1); in MODPLUG_GetSome()
247 if (MODPLUG_Play(music, play_count) < 0) { in MODPLUG_GetSome()
H A Dmusic_opus.c105 int play_count; member
251 static int OPUS_Play(void *context, int play_count) in OPUS_Play() argument
254 music->play_count = play_count; in OPUS_Play()
269 if (!music->play_count) { in OPUS_GetSome()
295 if (music->play_count == 1) { in OPUS_GetSome()
296 music->play_count = 0; in OPUS_GetSome()
299 int play_count = -1; in OPUS_GetSome() local
300 if (music->play_count > 0) { in OPUS_GetSome()
301 play_count = (music->play_count - 1); in OPUS_GetSome()
303 if (OPUS_Play(music, play_count) < 0) { in OPUS_GetSome()
H A Dmusic_wav.c42 int play_count;
91 Uint32 play_count;
186 music->play_count = play_count;
210 if (!music->play_count) {
261 if (music->play_count == 1) {
262 music->play_count = 0;
265 int play_count = -1;
266 if (music->play_count > 0) {
267 play_count = (music->play_count - 1);
384 loop->initial_play_count = play_count;
[all …]
H A Dmusic_mpg123.c124 int play_count; member
287 static int MPG123_Play(void *context, int play_count) in MPG123_Play() argument
290 music->play_count = play_count; in MPG123_Play()
310 if (!music->play_count) { in MPG123_GetSome()
343 if (music->play_count == 1) { in MPG123_GetSome()
344 music->play_count = 0; in MPG123_GetSome()
347 int play_count = -1; in MPG123_GetSome() local
348 if (music->play_count > 0) { in MPG123_GetSome()
349 play_count = (music->play_count - 1); in MPG123_GetSome()
351 if (MPG123_Play(music, play_count) < 0) { in MPG123_GetSome()
H A Dmusic_mikmod.c168 int play_count; member
370 static int MIKMOD_Play(void *context, int play_count) in MIKMOD_Play() argument
373 music->play_count = play_count; in MIKMOD_Play()
396 if (!music->play_count) { in MIKMOD_GetSome()
411 if (music->play_count == 1) { in MIKMOD_GetSome()
412 music->play_count = 0; in MIKMOD_GetSome()
415 int play_count = -1; in MIKMOD_GetSome() local
416 if (music->play_count > 0) { in MIKMOD_GetSome()
417 play_count = (music->play_count - 1); in MIKMOD_GetSome()
419 if (MIKMOD_Play(music, play_count) < 0) { in MIKMOD_GetSome()
H A Dmusic_ogg.c128 int play_count; member
315 static int OGG_Play(void *context, int play_count) in OGG_Play() argument
318 music->play_count = play_count; in OGG_Play()
336 if (!music->play_count) { in OGG_GetSome()
376 if (music->play_count == 1) { in OGG_GetSome()
377 music->play_count = 0; in OGG_GetSome()
380 int play_count = -1; in OGG_GetSome() local
381 if (music->play_count > 0) { in OGG_GetSome()
382 play_count = (music->play_count - 1); in OGG_GetSome()
384 if (OGG_Play(music, play_count) < 0) { in OGG_GetSome()
H A Dmusic_flac.c139 int play_count; member
451 static int FLAC_Play(void *context, int play_count) in FLAC_Play() argument
454 music->play_count = play_count; in FLAC_Play()
469 if (!music->play_count) { in FLAC_GetSome()
481 if (music->play_count == 1) { in FLAC_GetSome()
482 music->play_count = 0; in FLAC_GetSome()
485 int play_count = -1; in FLAC_GetSome() local
486 if (music->play_count > 0) { in FLAC_GetSome()
487 play_count = (music->play_count - 1); in FLAC_GetSome()
489 if (FLAC_Play(music, play_count) < 0) { in FLAC_GetSome()
H A Dmusic_mad.c139 int play_count; member
184 static int MAD_Play(void *context, int play_count) in MAD_Play() argument
187 music->play_count = play_count; in MAD_Play()
440 if (!music->play_count) { in MAD_GetSome()
451 int play_count = -1; in MAD_GetSome() local
452 if (music->play_count > 0) { in MAD_GetSome()
453 play_count = (music->play_count - 1); in MAD_GetSome()
455 if (MAD_Play(music, play_count) < 0) { in MAD_GetSome()
/dports/emulators/mess/mame-mame0226/plugins/timer/
H A Dinit.lua20 local play_count = 0
33 update_stmt:bind_values(total_time, play_count,emu.romname(), emu.softname())
65 play_count = row.play_count
68 play_count = 0
75 play_count = play_count + 1
82 play_count = 0
99 { play_count, "", "off" }}
/dports/emulators/mame/mame-mame0226/plugins/timer/
H A Dinit.lua20 local play_count = 0
33 update_stmt:bind_values(total_time, play_count,emu.romname(), emu.softname())
65 play_count = row.play_count
68 play_count = 0
75 play_count = play_count + 1
82 play_count = 0
99 { play_count, "", "off" }}
/dports/audio/ampache/ampache-php74-5.0.0/src/Plugin/
H A DAmpacheRatingMatch.php213 $play_count = (int) $play_result['counting'];
220 if ($play_count == 0 && $skip_count == 0) {
224 if ($this->rule_process($this->star1_rule, $play_count, $skip_count)) {
229 if ($this->rule_process($this->star2_rule, $play_count, $skip_count)) {
234 if ($this->rule_process($this->star3_rule, $play_count, $skip_count)) {
239 if ($this->rule_process($this->star4_rule, $play_count, $skip_count)) {
249 if ($this->rule_process($this->flag_rule, $play_count, $skip_count)) {
264 * @param integer $play_count
268 public function rule_process($rule_array, $play_count, $skip_count) argument
274 if ($play > 0 && $play_count >= $play) {
[all …]
/dports/devel/py-vcrpy/vcrpy-2.0.1/tests/integration/
H A Dtest_basic.py33 assert cass.play_count == 0
53 assert cass.play_count == 0
57 assert cass.play_count == 1
62 assert cass.play_count == 1
78 assert cass.play_count == 0
82 assert cass.play_count == 1
87 assert cass.play_count == 1
H A Dtest_tornado.py64 assert 1 == cass.play_count
76 assert 1 == cass.play_count
89 assert 1 == cass.play_count
102 assert 1 == cass.play_count
121 assert 1 == cass.play_count
154 assert 1 == cass.play_count
169 assert 1 == cass.play_count
181 assert cass.play_count == 1
193 assert cass.play_count == 0
200 assert cass.play_count == 2
[all …]
H A Dtest_aiohttp.py47 assert cassette.play_count == 1
58 assert cassette.play_count == 1
69 assert cassette.play_count == 1
82 assert cassette.play_count == 1
93 assert cassette.play_count == 1
105 assert cassette.play_count == 1
119 assert cassette.play_count == 1
133 assert cassette.play_count == 1
156 assert cassette.play_count == 1
179 assert cassette.play_count == 1
H A Dtest_disksaver.py21 assert cass.play_count == 0
26 assert cass.play_count == 1
41 assert cass.play_count == 0
51 assert cass.play_count == 1
H A Dtest_matchers.py53 assert cass.play_count == 1
58 assert cass.play_count == 1
72 assert cass.play_count == 1
92 assert cass.play_count == 1
/dports/multimedia/navidrome/navidrome-0.40.0/db/migration/
H A D20200208222418_add_defaults_to_annotations.go15 update annotation set play_count = 0 where play_count is null;
24 play_count integer default 0,
32 …d, item_id, item_type, play_count, play_date, rating, starred, starred_at) select ann_id, user_id,…
39 on annotation (play_count);
/dports/multimedia/quodlibet/quodlibet-4.3.0/quodlibet/ext/playorder/
H A Dtrack_repeat.py40 play_count = START_COUNT variable in TrackRepeatOrder
63 self.play_count = START_COUNT
68 self.play_count += 1
69 if self.play_count <= play_each and iter is not None:
70 print_d("Play count now at %d/%d" % (self.play_count, play_each))
85 self.play_count = 0
/dports/audio/libechonest/libechonest-2.3.1/src/
H A DCatalogUpdateEntry_p.h29 banned( false ), play_count( -1 ), skip_count( -1 ), rating( -1 ), in CatalogUpdateEntryData()
52 play_count = other.play_count; in CatalogUpdateEntryData()
78 int play_count; variable
H A DCatalogItem_p.h40 play_count = other.play_count; in CatalogItemData()
48 int play_count; variable
/dports/devel/efl/efl-1.25.1/src/bin/elementary/
H A Dtest_efl_anim_repeat.c47 int play_count = elm_spinner_value_get(ad->play_count_spin); in _anim_changed_cb() local
48 if (play_count % 2 == 0) in _anim_changed_cb()
81 int play_count = elm_spinner_value_get(ad->play_count_spin); in _start_btn_clicked_cb() local
90 efl_animation_play_count_set(ad->show_anim, play_count); in _start_btn_clicked_cb()
102 efl_animation_play_count_set(ad->hide_anim, play_count); in _start_btn_clicked_cb()
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/patches/
H A D0009-platinum-add-support-for-upnp-lastPlaybackPosition-u.patch22 + m_MiscInfo.play_count = -1;
45 + if (m_MiscInfo.play_count > -1) {
47 + didl += NPT_String::FromInteger(m_MiscInfo.play_count);
75 + m_MiscInfo.play_count = value;
90 + NPT_Int32 play_count;
/dports/audio/beets/beets-1.4.9/docs/plugins/
H A Dmpdstats.rst7 * play_count: The number of times you *fully* listened to this track.
10 * rating: A rating based on *play_count* and *skip_count*.
61 Ratings are calculated based on the *play_count*, *skip_count* and the last
66 stable_rating = (play_count + 1.0) / (play_count + skip_count + 2.0)
68 So if the *play_count* equals the *skip_count*, the *stable_rating* is always

1234567