Do I have to zero-out an output audio port?

View: New views
3 Messages — Rating Filter:   Alert me  

Do I have to zero-out an output audio port?

by Gabriel M. Beddingfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Suppose I have an output audio port in JACK.  When JACK calls my process(), I
decide that I want to output only silence.  Do I have to fill the output buffer
with zeros?  Does jack pre-silence the buffers?

I think the answers are "Yes" and "No" -- but I wanted to check.

Thanks,
Gabriel

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Do I have to zero-out an output audio port?

by Stéphane Letz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juin 09 à 19:25, Gabriel M. Beddingfield a écrit :

>
> Suppose I have an output audio port in JACK.  When JACK calls my  
> process(), I decide that I want to output only silence.  Do I have  
> to fill the output buffer with zeros?  Does jack pre-silence the  
> buffers?
>
> I think the answers are "Yes" and "No" -- but I wanted to check.
>
> Thanks,
> Gabriel
>
>

"Yes" and "No" -  ((-:

Stephane
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Do I have to zero-out an output audio port?

by Gabriel M. Beddingfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Thu, 4 Jun 2009, Stéphane Letz wrote:
>> I decide that I want to output only silence.  Do I have to fill the output
>> buffer with zeros?  Does jack pre-silence the buffers?
>>
>> I think the answers are "Yes" and "No" -- but I wanted to check.
>
> "Yes" and "No" -  ((-:
>
> Stephane

Thanks!!

-Gabriel

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org