Mercurial > mplayer.hg
diff libao2/ao_nas.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 9a5b8c2ed6de |
children |
line wrap: on
line diff
--- a/libao2/ao_nas.c Tue May 12 19:25:35 2009 +0000 +++ b/libao2/ao_nas.c Wed May 13 02:58:57 2009 +0000 @@ -119,7 +119,7 @@ return nas_states[state]; } -static const ao_info_t info = +static const ao_info_t info = { "NAS audio output", "nas", @@ -201,7 +201,7 @@ * Now write the new buffer to the network. */ AuWriteElement(nas_data->aud, nas_data->flow, 0, num, nas_data->server_buffer, AuFalse, &as); - if (as != AuSuccess) + if (as != AuSuccess) nas_print_error(nas_data->aud, "nas_readBuffer(): AuWriteElement", as); return num; @@ -229,7 +229,7 @@ { AuEvent ev; int result = 0; - + while (AuScanForTypedEvent(nas_data->aud, AuEventsQueuedAfterFlush, AuTrue, AuEventTypeElementNotify, &ev)) { AuDispatchEvent(nas_data->aud, &ev); @@ -462,7 +462,7 @@ mp_msg(MSGT_AO, MSGL_V, "ao_nas: init(): Using audioserver %s\n", server); nas_data->aud = AuOpenServer(server, 0, NULL, 0, NULL, NULL); - if (!nas_data->aud) { + if (!nas_data->aud) { mp_msg(MSGT_AO, MSGL_ERR, "ao_nas: init(): Can't open nas audio server -> nosound\n"); return 0; } @@ -571,7 +571,7 @@ static int get_space(void) { int result; - + mp_msg(MSGT_AO, MSGL_DBG3, "ao_nas: get_space()\n"); pthread_mutex_lock(&nas_data->buffer_mutex); @@ -631,7 +631,7 @@ static float get_delay(void) { float result; - + mp_msg(MSGT_AO, MSGL_DBG3, "ao_nas: get_delay()\n"); pthread_mutex_lock(&nas_data->buffer_mutex);