Code Monkey home page Code Monkey logo

snapcraft-alsa's Introduction

snapcraft-alsa

ALSA for your snap package routing sound through Pulseaudio!

Description

This part will install ALSA and a snap configuration that will redirect audio through pulseaudio without requiring the alsa plug to be connected manually or by store assertion.

For usage instructions, see https://snapcraft-alsa.readthedocs.io/en/latest/

snapcraft-alsa's People

Contributors

brlin-tw avatar popey avatar ryanjyoder avatar stuartlangridge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

snapcraft-alsa's Issues

Configure fail on ppc64el architecture

Downloading 'alsa-lib-1.1.6.tar.bz2' 100%                                      
./configure --prefix= --prefix=/usr --sysconfdir=/etc --libexec=/usr/lib --libdir=/usr/lib --localstatedir=/var --with-configdir=/snap/guvcview-brlin/current/usr/share/alsa --with-plugindir=/snap/guvcview-brlin/current/usr/lib/alsa-lib --disable-alisp --disable-aload --disable-python --disable-static --disable-topology --disable-ucm --enable-symbolic-functions
Failed to run './configure --prefix= --prefix=/usr --sysconfdir=/etc --libexec=/usr/lib --libdir=/usr/lib --localstatedir=/var --with-configdir=/snap/guvcview-brlin/current/usr/share/alsa --with-plugindir=/snap/guvcview-brlin/current/usr/lib/alsa-lib --disable-alisp --disable-aload --disable-python --disable-static --disable-topology --disable-ucm --enable-symbolic-functions' for 'alsa-lib': Exited with code 1.
Verify that the part is using the correct parameters and try again.

Recipe: brlin-tw/guvcview-snap@0318523

File not found errors occurs in the install script of alsa-lib

As following:

make[1]: Leaving directory '/home/ubuntu/snapcraft-alsa/parts/alsa-lib/build'
sed: can't read /home/ubuntu/snapcraft-alsa/parts/alsa-lib/install/usr/lib/x86_64-linux-gnu/pkgconfig/*.pc: No such file or directory
sed: can't read $pcfile: No such file or directory
sed: can't read $pcfile: No such file or directory
sed: can't read /home/ubuntu/snapcraft-alsa/parts/alsa-lib/install/usr/local/lib/x86_64-linux-gnu/pkgconfig/*.pc: No such file or directory
sed: can't read $pcfile: No such file or directory
sed: can't read /home/ubuntu/snapcraft-alsa/parts/alsa-lib/install/usr/local/lib/pkgconfig/*.pc: No such file or directory
sed: can't read $pcfile: No such file or directory

Unexpected install location of share/alsa in alsa-lib

parts/alsa-lib/install:
├── snap
│   └── alsa
│       └── current
│           └── usr
└── usr
<stripped>
    └── share
        ├── aclocal
        │   └── alsa.m4
        └── share
            └── alsa
                ├── alsa.conf
                ├── alsa.conf.d
                │   └── README
                ├── cards
                │   ├── AACI.conf
                │   ├── aliases.conf
<stripped>

Currently, the share/alsa directory is installed/organized to $SNAPCRAFT_PART_INSTALL/usr/share/share/alsa for some reason...

Bind vs. symlink

Hey, thanks for this very useful snapcraft part!

The layout docs recommend using symlink over bind where possible for performance reasons. Is there a specific reason for using bind for this alsa part?

bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib

In my testing with the veloren snap, using symlink seemed to work fine.

no emulated alsa

Please provide ALSA access and not just alsa emulation. I want to see all devices not just "default", further I need MIDI device access.

Bests,
Joël

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.