Trivial things from the last commit left in the editor

This commit is contained in:
Gregory Nutt 2014-07-24 15:10:12 -06:00
parent c2ee2165f7
commit 12ab18cddc

View File

@ -605,13 +605,17 @@ static void *nxplayer_playthread(pthread_addr_t pvarg)
/* Create our audio pipeline buffers to use for queueing up data */ /* Create our audio pipeline buffers to use for queueing up data */
for (x = 0; x < buf_info.nbuffers; x++) for (x = 0; x < buf_info.nbuffers; x++)
{
pBuffers[x] = NULL; pBuffers[x] = NULL;
}
for (x = 0; x < buf_info.nbuffers; x++) for (x = 0; x < buf_info.nbuffers; x++)
#else /* CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFER */ #else /* CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFER */
for (x = 0; x < CONFIG_AUDIO_NUM_BUFFERS; x++) for (x = 0; x < CONFIG_AUDIO_NUM_BUFFERS; x++)
{
pBuffers[x] = NULL; pBuffers[x] = NULL;
}
for (x = 0; x < CONFIG_AUDIO_NUM_BUFFERS; x++) for (x = 0; x < CONFIG_AUDIO_NUM_BUFFERS; x++)
#endif /* CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFER */ #endif /* CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFER */
@ -725,7 +729,6 @@ static void *nxplayer_playthread(pthread_addr_t pvarg)
/* An audio buffer is being dequeued by the driver */ /* An audio buffer is being dequeued by the driver */
case AUDIO_MSG_DEQUEUE: case AUDIO_MSG_DEQUEUE:
/* Read data from the file directly into this buffer /* Read data from the file directly into this buffer
* and re-enqueue it. * and re-enqueue it.
*/ */
@ -748,7 +751,6 @@ static void *nxplayer_playthread(pthread_addr_t pvarg)
/* Someone wants to stop the playback. */ /* Someone wants to stop the playback. */
case AUDIO_MSG_STOP: case AUDIO_MSG_STOP:
/* Send a stop message to the device */ /* Send a stop message to the device */
#ifdef CONFIG_AUDIO_MULTI_SESSION #ifdef CONFIG_AUDIO_MULTI_SESSION
@ -764,7 +766,6 @@ static void *nxplayer_playthread(pthread_addr_t pvarg)
/* Message indicating the playback is complete */ /* Message indicating the playback is complete */
case AUDIO_MSG_COMPLETE: case AUDIO_MSG_COMPLETE:
running = false; running = false;
break; break;