Comments (5)
I have added a new audio driver, using GStreamer instead of Qt multimedia capabilities. This should allow using ALSA, PulseAudio and Jack properly and any other audio sink supported by GStreamer.
To use ALSA:
./sampledrawer --audio-driver=gstreamer --audio-device='alsasink'
PuleAudio:
./sampledrawer --audio-driver=gstreamer --audio-device='pulsesink'
Jack:
./sampledrawer --audio-driver=gstreamer --audio-device='jackaudiosink'
Jack without automatic port connections:
./sampledrawer --audio-driver=gstreamer --audio-device='jackaudiosink connect=0'
Add an effect ('freeverb' Reverberation/room effect in this case) before sending audio to alsa:
./sampledrawer --audio-driver=gstreamer --audio-device='freeverb ! alsasink'
For this to work GStreamer with appropriate sink and affects plugin must be installed, as well as python gobject-introspection binding and GStreamer gobject-introspection data ('python3-gi' and 'gir1.2-gstreamer-1.0' packages in Ubuntu).
from sampledrawer.
Doesn't it? I have used the basic Qt media player and decoder, assuming it should 'just work' everywhere. I have not tested it with anything else than PulseAudio, though.
How exactly does it not work for you? Any error message?
Do you have audio in other Qt5 based applications?
from sampledrawer.
I have added '--auto-device' command-line option. A quick hack, but maybe it helps.
from sampledrawer.
By default it outputs:
PulseAudioService: pa_context_connect() failed
using null output device, none available
With ./sampledrawer --audio-device default
it does work with my default alsa device \o/
thnx!
Got some more feature requests, but nice project. Was looking for something like this.
from sampledrawer.
Nice, will have a try soon!
from sampledrawer.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sampledrawer.