chickadee » sndfile » write-items/f32

write-items/u8 handle buffer #!optional nprocedure
write-items/s8 handle buffer #!optional nprocedure
write-items/s16 handle buffer #!optional nprocedure
write-items/s32 handle buffer #!optional nprocedure
write-items/f32 handle buffer #!optional nprocedure
write-items/f64 handle buffer #!optional nprocedure

Writes n items to the open file handle from buffer and returns the number of items written. The procedure is safe and it makes sure you're using the right kind of srfi-4 vector and that it holds enough data. Note that n is optional, by omitting it the library assumes you want to write out the whole buffer.