mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
bluetooth/aptx: Call the non-HD encode_buffer function
For consistency with its decode_buffer counterpart. For the time being the base function only performs an extra check and logs an error when no data has been written into the GStreamer encoding pipeline. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/487>
This commit is contained in:
parent
6b5857c1ac
commit
92af2c90f9
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ static size_t encode_buffer_hd(void *codec_info, uint32_t timestamp, const uint8
|
|||
return 0;
|
||||
}
|
||||
|
||||
written = gst_encode_buffer(codec_info, timestamp, input_buffer, input_size, output_buffer + sizeof(*header), output_size - sizeof(*header), processed);
|
||||
written = encode_buffer(codec_info, timestamp, input_buffer, input_size, output_buffer + sizeof(*header), output_size - sizeof(*header), processed);
|
||||
|
||||
if (PA_LIKELY(written > 0)) {
|
||||
header = (struct rtp_header *) output_buffer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue