spdl.io.AudioDecoder¶
- class AudioDecoder[source]¶
Decode stream of audio packets. See
Decoder
for the detail.Methods
- decode(packets: AudioPackets) AudioFrames | None [source]¶
Decode the given packets
- flush() VideoFrames | None [source]¶
Flush the internally buffered frames. Use only at the end of stream