Hi Paul,

Right. It should be read() instead of write().

Best regards,

Hannu
-------
Widmer Paul wrote:
> Hello All,
>  
> I was wondering if there is an error with the SNDCTL_DSP_GETISPACE ioctl
> documentation page
> (http://manuals.opensound.com/developer/SNDCTL_DSP_GETISPACE.html) in
> the following section:
>  
> **********
> It's very important to understand that this ioctl call will return
> bytes=0 before the recording process has been started. It's necessary to
> start recording by calling write() or SNDCTL_DSP_SETTRIGGER. If this is
> not done then the application will probably hang forever waiting for the
> recording to start.
> **********
>
> Should it be read() instead of write?  Changing it to: "It's necessary
> to start recording by calling read() or SNDCTL_DSP_SETTRIGGER."?
>
> If it is documentation is correct could someone explain why you need to
> write when initiating the recording process?
>
> Thanks,
>
> -Paul
>
>
>
> _______________________________________________
> oss-devel mailing list
> oss-devel@mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
>   

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to