diff options
author | Max Kellermann <max@duempel.org> | 2009-01-30 19:43:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-30 19:43:31 +0100 |
commit | a93e73bea8dd7659d2af6f3a3045e8a3406263fc (patch) | |
tree | 3f394a0bd51d343829b7ea331139acb16723d2b7 /src/main.c | |
parent | 590082767530834ed3abff9009f9169dba4bd16f (diff) | |
download | mpd-a93e73bea8dd7659d2af6f3a3045e8a3406263fc.tar.gz mpd-a93e73bea8dd7659d2af6f3a3045e8a3406263fc.tar.xz mpd-a93e73bea8dd7659d2af6f3a3045e8a3406263fc.zip |
jack: removed sample_rate callback
Currently, the JACK plugin manipulates the audio_format struct which
was passed to the open() method. This is very likely to break,
because the plugin must not permanently store this pointer. After
this patch, MPD ignores sample rate changes. It looks like other
software is doing the same, and I guess this is a non-issue.
This patch converts the audio_format pointer within jack_data into a
static audio_format struct.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions