mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
Update Virtual I/O documentation, closes #656
This commit is contained in:
parent
b706e62ead
commit
616d0ecc0a
@ -185,7 +185,7 @@ libsndfile, the command would be:
|
||||
|
||||
## Q9 : How about adding the ability to write/read sound files to/from memory buffers? {#Q009}
|
||||
|
||||
This has been added for version 1.0.13.
|
||||
This has been [added](api.md#open_virtual) for version 1.0.12.
|
||||
|
||||
## Q10 : Reading a 16 bit PCM file as normalised floats and then writing them back changes some sample values. Why? {#Q010}
|
||||
|
||||
|
@ -222,9 +222,9 @@ SNDFILE* sf_open_virtual (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo
|
||||
```
|
||||
|
||||
Opens a soundfile from a virtual file I/O context which is provided by the
|
||||
caller. This is usually used to interface libsndfile to a stream or buffer based
|
||||
system. Apart from the sfvirtual and the user_data parameters this function
|
||||
behaves like [sf_open()](#open).
|
||||
caller. This is usually used to interface libsndfile to write/read from memory
|
||||
with a stream or buffer based system. Apart from the sfvirtual and the user_data
|
||||
parameters this function behaves like [sf_open()](#open).
|
||||
|
||||
```c
|
||||
typedef struct
|
||||
|
Loading…
Reference in New Issue
Block a user