Playing from named pipe does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtubuntu-media (Ubuntu) |
New
|
Wishlist
|
Unassigned | ||
qtubuntu-media (Ubuntu RTM) |
New
|
Wishlist
|
Unassigned |
Bug Description
There is no way to generate audio mathematically at runtime in QML and play it directly through the AudioeEngine API. Instead, one must ship a named pipe file in the click package, and use it as an audio sample source. However, when using a named pipe as a sample, the AudioEngine seems to read the data, but does not actually play it through the speakers. The following QML code can be added to an application for testing:
Label {
id: label
}
}
}
Running the following commands and then clicking the "Play Audio Pipe" button should result in the sound being heard through the speakers, but apparently only results in the data being read and unblocking the input which is writing to the pipe.
mkfifo audiopipe
cat foo.wav > audiopipe
The file 'foo.wav' can be any valid wav audio file.
Changed in qtubuntu-media (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in qtubuntu-media (Ubuntu RTM): | |
importance: | Undecided → Wishlist |