*: use references instead of pointers

This commit is contained in:
Max Kellermann
2013-10-19 18:48:38 +02:00
parent 59f8144c50
commit ff626ac763
122 changed files with 1077 additions and 1083 deletions

View File

@@ -445,7 +445,7 @@ Player::CheckDecoderStartup()
dc.Unlock();
if (output_open &&
!audio_output_all_wait(&pc, 1))
!audio_output_all_wait(pc, 1))
/* the output devices havn't finished playing
all chunks yet - wait for that */
return true;
@@ -746,7 +746,7 @@ play_chunk(player_control &pc,
inline bool
Player::PlayNextChunk()
{
if (!audio_output_all_wait(&pc, 64))
if (!audio_output_all_wait(pc, 64))
/* the output pipe is still large enough, don't send
another chunk */
return true;
@@ -1102,7 +1102,7 @@ player_task(void *arg)
player_control &pc = *(player_control *)arg;
decoder_control dc;
decoder_thread_start(&dc);
decoder_thread_start(dc);
MusicBuffer buffer(pc.buffer_chunks);