summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-12-05 15:54:56 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-12-05 15:54:56 +0000
commit7958ce62d6ae127ee9b8664c8afae5754063389f (patch)
tree658e11edf004b0ae3ac3114ffe8ed5f8604ccefd /src/xine-engine/audio_decoder.c
parentb529e4b1f1668c03d3cb35c0c742f301b8c415db (diff)
downloadxine-lib-7958ce62d6ae127ee9b8664c8afae5754063389f.tar.gz
xine-lib-7958ce62d6ae127ee9b8664c8afae5754063389f.tar.bz2
cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued...
CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 2ae362c88..df870004d 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.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_decoder.c,v 1.116 2003/11/26 23:44:10 f1rmb Exp $
+ * $Id: audio_decoder.c,v 1.117 2003/12/05 15:55:04 f1rmb Exp $
*
*
* functions that implement audio decoding
@@ -304,9 +304,8 @@ static void *audio_decoder_loop (void *stream_gen) {
if (buf->type != buftype_unknown &&
!_x_stream_info_get(stream, XINE_STREAM_INFO_AUDIO_HANDLED)) {
- xine_log (stream->xine, XINE_LOG_MSG,
- "audio_decoder: no plugin available to handle '%s'\n",
- _x_buf_audio_name( buf->type ) );
+ xine_log (stream->xine, XINE_LOG_MSG,
+ _("audio_decoder: no plugin available to handle '%s'\n"), _x_buf_audio_name( buf->type ) );
if( !_x_meta_info_get(stream, XINE_META_INFO_AUDIOCODEC) )
_x_meta_info_set(stream, XINE_META_INFO_AUDIOCODEC, _x_buf_audio_name( buf->type ));
@@ -323,8 +322,7 @@ static void *audio_decoder_loop (void *stream_gen) {
}
} else if( buf->type != buftype_unknown ) {
xine_log (stream->xine, XINE_LOG_MSG,
- "audio_decoder: error, unknown buffer type: %08x\n",
- buf->type );
+ _("audio_decoder: error, unknown buffer type: %08x\n"), buf->type );
buftype_unknown = buf->type;
}
@@ -373,8 +371,8 @@ void _x_audio_decoder_init (xine_stream_t *stream) {
if ((err = pthread_create (&stream->audio_thread,
&pth_attrs, audio_decoder_loop, stream)) != 0) {
- fprintf (stderr, "audio_decoder: can't create new thread (%s)\n",
- strerror(err));
+ xprintf (stream->xine, XINE_VERBOSITY_DEBUG,
+ "audio_decoder: can't create new thread (%s)\n", strerror(err));
abort();
}