Index: formats/format_pcm.c =================================================================== --- formats/format_pcm.c (revision 177535) +++ formats/format_pcm.c (working copy) @@ -86,7 +86,7 @@ } #endif -static struct ast_frame *pcm_read(struct ast_filestream *s, int *whennext) +static struct ast_frame *pcm711_read(struct ast_filestream *s, int *whennext) { int res; @@ -433,7 +433,7 @@ .seek = pcm_seek, .trunc = pcm_trunc, .tell = pcm_tell, - .read = pcm_read, + .read = pcm711_read, .buf_size = BUF_SIZE + AST_FRIENDLY_OFFSET, #ifdef REALTIME_WRITE .open = pcma_open, @@ -450,7 +450,7 @@ .seek = pcm_seek, .trunc = pcm_trunc, .tell = pcm_tell, - .read = pcm_read, + .read = pcm711_read, .buf_size = BUF_SIZE + AST_FRIENDLY_OFFSET, }; @@ -462,7 +462,7 @@ .seek = pcm_seek, .trunc = pcm_trunc, .tell = pcm_tell, - .read = pcm_read, + .read = pcm711_read, .buf_size = (BUF_SIZE * 2) + AST_FRIENDLY_OFFSET, }; @@ -476,7 +476,7 @@ .seek = au_seek, .trunc = au_trunc, .tell = au_tell, - .read = pcm_read, + .read = pcm711_read, .buf_size = BUF_SIZE + AST_FRIENDLY_OFFSET, /* this many shorts */ };