// AvailableToRead returns the number of frames that
// can be read from the stream without waiting.
AvailableToRead returns the number of frames that
can be read from the stream without waiting.
// AvailableToRead returns the number of frames that // can be read from the stream without waiting .
func (s *Stream) AvailableToRead() (int, error) {
	n := C.Pa_GetStreamReadAvailable(s.paStream)
	if n < 0 {
		return 0, newError(C.PaError(n))
	}
	return int(n), nil
}
func ( s * Stream ) AvailableToRead ( ) ( int , error ) { n := C . Pa_GetStreamReadAvailable ( s . paStream ) if n < 0 { return 0 , newError ( C . PaError ( n ) ) } return int ( n ) , nil }
AvailableToRead returns the number of frames that
can be read from the stream without waiting.
AvailableToRead returns the number of frames that can be read from the stream without waiting .