return -1;
}
+static int ogg_speex_write(struct ast_filestream *s, struct ast_frame *f)
+{
+ ast_log(LOG_WARNING, "Writing is not supported on OGG/Speex streams!\n");
+ return -1;
+}
+
/*!
* \brief Seek to a specific position in an OGG/Speex filestream.
* \param s The filestream to truncate.
.name = "ogg_speex",
.exts = "spx",
.open = ogg_speex_open,
+ .write = ogg_speex_write,
.seek = ogg_speex_seek,
.trunc = ogg_speex_trunc,
.tell = ogg_speex_tell,
.name = "ogg_speex16",
.exts = "spx16",
.open = ogg_speex_open,
+ .write = ogg_speex_write,
.seek = ogg_speex_seek,
.trunc = ogg_speex_trunc,
.tell = ogg_speex_tell,
.name = "ogg_speex32",
.exts = "spx32",
.open = ogg_speex_open,
+ .write = ogg_speex_write,
.seek = ogg_speex_seek,
.trunc = ogg_speex_trunc,
.tell = ogg_speex_tell,