• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/forked-daapd-0.19/src/

Lines Matching refs:cur_streaming

209 static struct player_source *cur_streaming;
557 else if (cur_streaming && (cur_streaming->end))
559 rtptime = cur_streaming->end + 1;
832 if (cur_streaming)
833 shuffle_head = cur_streaming;
910 if (!cur_streaming)
913 ps = (shuffle) ? cur_streaming->shuffle_next : cur_streaming->pl_next;
918 if (cur_streaming->ctx)
920 ret = transcode_seek(cur_streaming->ctx, 0);
927 metadata_send(cur_streaming, 0);
930 ret = source_open(cur_streaming, force);
949 if (cur_streaming && (ps == shuffle_head))
997 if (!force && cur_streaming)
998 cur_streaming->play_next = ps;
1000 cur_streaming = ps;
1013 if (!cur_streaming)
1017 ps = (shuffle) ? cur_streaming->shuffle_prev : cur_streaming->pl_prev;
1020 if ((repeat == REPEAT_OFF) && (cur_streaming == head))
1055 cur_streaming = ps;
1084 if (!cur_streaming)
1097 if (pos >= cur_streaming->output_start)
1099 cur_playing = cur_streaming;
1200 if (!cur_streaming)
1220 ret = transcode(cur_streaming->ctx, audio_buf, len - nbytes);
1224 cur_streaming->end = rtptime + BTOS(nbytes) - 1;
1854 source_stop(cur_streaming);
1857 cur_streaming = NULL;
1903 status->id = cur_streaming->id;
1905 pos = last_rtptime + AIRTUNES_V2_PACKET_SAMPLES - cur_streaming->stream_start;
1908 status->pos_pl = source_position(cur_streaming);
1917 ps = cur_streaming;
1962 else if (cur_streaming)
1963 *id = cur_streaming->id;
1992 source_stop(cur_streaming);
1995 cur_streaming = NULL;
2148 *idx_id = cur_streaming->id;
2162 else if (cur_streaming)
2163 source_stop(cur_streaming);
2166 cur_streaming = NULL;
2171 cur_streaming = shuffle_head;
2174 cur_streaming = source_head;
2178 cur_streaming = source_head;
2180 cur_streaming = cur_streaming->pl_next;
2183 shuffle_head = cur_streaming;
2186 ret = source_open(cur_streaming, 0);
2195 *idx_id = cur_streaming->id;
2196 cur_streaming->stream_start = last_rtptime + AIRTUNES_V2_PACKET_SAMPLES;
2197 cur_streaming->output_start = cur_streaming->stream_start;
2199 else if (!cur_streaming)
2213 cur_streaming->stream_start = last_rtptime + AIRTUNES_V2_PACKET_SAMPLES;
2214 cur_streaming->output_start = cur_streaming->stream_start;
2221 metadata_send(cur_streaming, 1);
2280 source_stop(cur_streaming);
2293 cur_streaming->stream_start = last_rtptime + AIRTUNES_V2_PACKET_SAMPLES;
2294 cur_streaming->output_start = cur_streaming->stream_start;
2312 source_stop(cur_streaming);
2325 cur_streaming->stream_start = last_rtptime + AIRTUNES_V2_PACKET_SAMPLES;
2326 cur_streaming->output_start = cur_streaming->stream_start;
2348 ps = cur_streaming;
2365 cur_streaming = ps;
2385 ps = cur_streaming;
2406 cur_streaming = ps;
2436 ps = cur_streaming;
2456 cur_streaming = ps;
2457 cur_streaming->play_next = NULL;
3858 cur_streaming = NULL;