[SCM] libgroove/upstream: player: don't do disable_resample for dummy device
andrewrk-guest at users.alioth.debian.org
andrewrk-guest at users.alioth.debian.org
Tue May 13 03:19:11 UTC 2014
The following commit has been merged in the upstream branch:
commit c24fe8cf18014e61a1c06ee01bb7dd12a776a153
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Mon May 12 19:42:54 2014 -0700
player: don't do disable_resample for dummy device
This optimization was causing 'Operation not permitted' when trying to link the
filter graph.
diff --git a/grooveplayer/player.c b/grooveplayer/player.c
index 22f2632..85b7e16 100644
--- a/grooveplayer/player.c
+++ b/grooveplayer/player.c
@@ -375,7 +375,6 @@ int groove_player_attach(struct GroovePlayer *player, struct GroovePlaylist *pla
// dummy device
player->actual_audio_format = player->target_audio_format;
p->sink->audio_format = player->actual_audio_format;
- p->sink->disable_resample = 1;
} else {
SDL_AudioSpec wanted_spec, spec;
wanted_spec.format = groove_fmt_to_sdl_fmt(player->target_audio_format.sample_fmt);
--
libgroove packaging
More information about the pkg-multimedia-commits
mailing list