bufopen: Add support for data types that can't wrap.
authorNicolas Pennequin <nicolas.pennequin@free.fr>
Mon, 6 Aug 2007 22:14:15 +0000 (00:14 +0200)
committerNicolas Pennequin <nicolas.pennequin@free.fr>
Mon, 6 Aug 2007 22:14:15 +0000 (00:14 +0200)
commit931b538300d1d86dfa5d74ef16845be52f4e165f
tree94a59717f21df1f8b6409a04083450ad8a53c66c
parent4e017b48889a9e8ef8b9d3051798f87c5b8cbb3a
bufopen: Add support for data types that can't wrap.

Added a new data type: TYPE_STREAM, for stream audio that can't wrap.
The only data type allowed to wrap is audio.
Now bufopen returns -2 for all cases where adding the handle failed
because of a lack of memory space.
testplugin.c