Skip to content

ALSA support help #70

@micha1pu

Description

@micha1pu

Hi, Im trying to get ALSA support via hifiberry sound card on YOCTO. Im using initial ALSA support https://github.com/popcornmix/omxplayer/pull/463/files and i updated files in POT piomxtextures_src and added -lasound in PiOmxTextures.pro and piomxtextures_src.pri in same folder. Also addet new "alsa" to AUDIO_OUT in omx_mediaprocessor:
else if (a == QByteArray("alsa")) m_audioConfig->device = "omx:alsa"; else

Im able to compile it, but im getting this error when calling with AUDIO_OUT=alsa and no image.
Thank you for any help.

Audio codec aac channels 6 samplerate 48000 bitspersample 16
14:43:15.834 INFO: OMXClock using audio as reference
14:43:15.888 INFO: [0xb3447058] gomx_send_command: SendCommand 2, 0, (nil)

14:43:15.908 INFO: [0xb3447058] gomx_worker: start

14:43:15.918 INFO: [0xb3447058 port 0]: gomx_do_command: command 2

14:43:15.931 INFO: [0xb3447058 port 0]: __gomx_port_unpopulate: waiting 0 buffers to be freed

14:43:15.941 INFO: [0xb3447058 port 0]: __gomx_port_unpopulate: UNPOPULATED

14:43:15.961 INFO: [0xb3447058] gomx_send_command: SendCommand 2, 1, (nil)

14:43:15.965 INFO: [0xb3447058 port 1]: gomx_do_command: command 2

14:43:15.972 INFO: [0xb3447058 port 1]: __gomx_port_unpopulate: waiting 0 buffers to be freed

14:43:15.977 INFO: [0xb3447058 port 1]: __gomx_port_unpopulate: UNPOPULATED

V:PortSettingsChanged: 1920x1080@24.00 interlace:0 deinterlace:0 anaglyph:0 par:inf display:0 layer:0 alpha:255 aspectMode:0
14:43:15.987 INFO: [0xb3447058 port 1]: gomx_component_tunnel_request: ComponentTunnnelRequest: 0x1c11540 80

14:43:15.994 INFO: [0xb3447058] gomx_send_command: SendCommand 3, 1, (nil)

14:43:15.999 INFO: [0xb3447058 port 1]: gomx_do_command: command 3

14:43:16.002 INFO: [0xb3447058 port 1]: __gomx_port_populate: Allocating tunnel buffers

14:43:16.012 INFO: [0xb3447058 port 1]: __gomx_port_populate: POPULATED

14:43:16.024 INFO: [0xb3447058] gomx_send_command: SendCommand 0, 2, (nil)

14:43:16.026 INFO: [0xb3447058] gomx_do_command: state 2

14:43:16.029 INFO: [0xb3447058 port 1]: __gomx_port_populate: Allocating tunnel buffers

14:43:16.045 INFO: [0xb3447058 port 1]: __gomx_port_populate: POPULATED

14:43:16.082 INFO: Buffer created 0x1c85d60
14:43:16.087 INFO: Buffer created 0x1c86450
14:43:16.092 INFO: Buffer created 0x1cc56c0
14:43:16.097 INFO: [0xb3447058 port 0]: gomx_component_tunnel_request: ComponentTunnnelRequest: 0xb34393c0 231

14:43:16.106 INFO: [0xb3447058] gomx_send_command: SendCommand 3, 0, (nil)

14:43:16.110 INFO: [0xb3447058 port 0]: gomx_do_command: command 3

14:43:16.112 INFO: [0xb3447058 port 0]: __gomx_port_populate: Allocating tunnel buffers

14:43:16.117 INFO: Buffer created 0x1cc5730
14:43:16.123 INFO: [0xb3447058 port 0]: __gomx_port_populate: POPULATED

14:43:16.133 INFO: [0xb3447058] gomx_send_command: SendCommand 0, 3, (nil)

14:43:16.135 INFO: [0xb3447058] gomx_do_command: state 3

14:43:16.163 INFO: [0xb3447058] omxalsasink_worker: worker started

ALSA lib ../../../alsa-lib-1.1.5/src/pcm/pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM
14:43:16.275 INFO: [0xb3447058] omxalsasink_worker: ALSA error: No such file or directory

14:43:16.278 INFO: [0xb3447058] omxalsasink_worker: worker stopped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions