diff options
Diffstat (limited to 'src/audio_out')
| -rw-r--r-- | src/audio_out/audio_arts_out.c | 4 | ||||
| -rw-r--r-- | src/audio_out/audio_file_out.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/audio_out/audio_arts_out.c b/src/audio_out/audio_arts_out.c index 4eba7d081..4196def9e 100644 --- a/src/audio_out/audio_arts_out.c +++ b/src/audio_out/audio_arts_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_arts_out.c,v 1.29 2006/05/03 19:46:06 dsalt Exp $ + * $Id: audio_arts_out.c,v 1.30 2006/06/18 20:29:03 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -91,7 +91,7 @@ static void ao_arts_volume(void *buffer, int length, int volume) { v=(int) ((*(data) * volume) / 100); *(data)=(v>32767) ? 32767 : ((v<-32768) ? -32768 : v); *(data)=LE_16(data); - *(data++); + data++; } } /* End volume control */ diff --git a/src/audio_out/audio_file_out.c b/src/audio_out/audio_file_out.c index c4b51d325..7cc37cdcb 100644 --- a/src/audio_out/audio_file_out.c +++ b/src/audio_out/audio_file_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_file_out.c,v 1.5 2006/06/02 22:18:56 dsalt Exp $ + * $Id: audio_file_out.c,v 1.6 2006/06/18 20:29:03 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -203,7 +203,7 @@ static int ao_file_write(ao_driver_t *this_gen, int16_t *data, } #endif while(len) { - size_t thislen = write(this->fd, data, len); + ssize_t thislen = write(this->fd, data, len); if (thislen == -1) { xprintf (this->xine, XINE_VERBOSITY_LOG, "audio_file_out: Failed to write data to file '%s': %s\n", @@ -259,7 +259,7 @@ static void ao_file_close(ao_driver_t *this_gen) uint32_t len; len = le2me_32(this->bytes_written); - xprintf (this->xine, XINE_VERBOSITY_DEBUG, "audio_file_out: Close file '%s'. %d KiB written\n", + xprintf (this->xine, XINE_VERBOSITY_DEBUG, "audio_file_out: Close file '%s'. %zu KiB written\n", this->fname, this->bytes_written / 1024); if (lseek(this->fd, 40, SEEK_SET) != -1) { |
