From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

=encoding utf-8
=head1 NAME
SDL2::AudioStream - A new audio conversion interface
=head1 SYNOPSIS
use SDL2 qw[:all];
=head1 DESCRIPTION
The benefits of L<SDL2::AudioStream> vs L<SDL2::AudioCVT>:
=over
=item - it can handle resampling data in chunks without generating artifacts, when it doesn't have the complete buffer available
=item - it can handle incoming data in any variable size
=item - You push data as you have it, and pull it when you need it
=back
=head1 Fields
The contents of this structure are opaque to the outside world.
=head1 LICENSE
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under
the terms found in the Artistic License 2. Other copyrights, terms, and
conditions may apply to data transmitted through this module.
=head1 AUTHOR
Sanko Robinson E<lt>sanko@cpan.orgE<gt>
=begin stopwords
vs
=end stopwords
=cut