[mythtv] does Mythmusic audio output use myth library?
Ed Wildgoose
lists at wildgooses.com
Wed May 26 03:57:41 EDT 2004
David Engel wrote:
>On Tue, May 25, 2004 at 02:17:18PM -0400, Joseph A. Caputo wrote:
>
>
>>Wow, JACK output would be cool. I've yet to play with it myself, but
>>AFAIK JACK could give you the ability to watch TV/recordings without
>>having to stop a running MythMusic playback, as there would be no audio
>>device contention. I don't know why you'd want to do that... just 'cuz
>>you can, I suppose :-)
>>
>>
>
>It would also make it much easier to implement the oft requested
>user-interface sounds freature.
>
>
Aha, well I am only implementing Jack as an output device in the style
of the existing code, so it wouldn't automatically expose the audio
server part.
In any case multiple opens of a single sound card is only a config
issue, alsa needs the dmix plugin device, OSS I think has automatic
mixing, and Jack obviously allows multiple opens. So ui sounds should
not be an issue...
Actually I was thinking about embedding RTAudio as the output layer,
this would be very cool and mean that you would get a single clean code
path for Alsa, OSS, Jack, Windows ASIO, etc. However, the Jack output
isn't quite what I need though, so perhaps will stick with the existing
code for a while.
As for "why", well, I want to use DRC on everything including Audio and
TV. DRC basically uses a microphone to record a sine sweep played
through your speakers. You know what you recorded, you know what you
end up with, so to a pretty decent extent you can invert the filter and
preprocess the sound so that it sounds extremely hifi at your listening
position. In the future it may also help with automatic distance
calculations to each speaker.... Jack is my way to insert this filter
into my audio output chain, I use Brutefir to process all the audio
using the filter derived from DRC
Ed W
More information about the mythtv-dev
mailing list