rom1v / usbaudio

Forward audio from Android devices
MIT License
353 stars 32 forks source link

access_alsa demux error: cannot commit hardware parameters: Input/output error #4

Open 7eventhCode opened 5 years ago

7eventhCode commented 5 years ago

I get an error

[INFO] Waiting for input source...
[ERROR] Could not find matching PulseAudio input source

So I've tried using usbaudio -n Can't find the device in pactl list short sources

But I do find it in cat /proc/asound/cards

 1 [SDM450MTPSNEA44]: USB-Audio - SDM450-MTP _SN:EA4419D2
                      OPPO SDM450-MTP _SN:EA4419D2 at usb-0000:00:14.0-3, high speed

but playing it using

vlc -Idummy --live-caching=50 alsa://hw:1

gives me errors

[0000565062ae79d0] dummy interface: using the dummy interface module...
[00007fd4800010e0] access_alsa demux error: cannot commit hardware parameters: Input/output error
[00007fd48c000c40] main input error: Your input can't be opened
[00007fd48c000c40] main input error: VLC is unable to open the MRL 'alsa://hw:1'. Check the log for details.
rom1v commented 5 years ago

What is the pid:vid of your device (lsusb) before and after enabling audio accessory?

7eventhCode commented 5 years ago

Before = 18d1:4ee9 After = 18d1:2d05

rom1v commented 5 years ago

Ok, that seems correct. Which device is it?

7eventhCode commented 5 years ago

It's Realme C1

Mr-trololol commented 5 years ago

Same issue with Oneplus 7 running stock oos rom android 9 pie

kiam001 commented 4 years ago

same issue on stock android 9 Nokia 6.1