mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
* #28334: audiocodec: use vector::data()
This commit is contained in:
@ -707,7 +707,7 @@ void AlsaLayer::capture()
|
||||
|
||||
// TODO: handle ALSA multichannel capture
|
||||
const int toGetBytes = in.samples() * sizeof(SFLAudioSample);
|
||||
SFLAudioSample * const in_ptr = &(*in.getChannel(0)->begin());
|
||||
SFLAudioSample * const in_ptr = in.getChannel(0)->data();
|
||||
|
||||
if (read(in_ptr, toGetBytes) != toGetBytes) {
|
||||
ERROR("ALSA MIC : Couldn't read!");
|
||||
|
Reference in New Issue
Block a user