commit | 6b30e2e4d4e0c1b9b84ad0c3ad2f9bfd2da6e94d | [log] [tgz] |
---|---|---|
author | John Crosbie <john@excelfore.com> | Tue Oct 26 11:51:26 2010 -0400 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Tue Oct 26 11:52:26 2010 -0400 |
tree | ba47304a98aa010c3d5389abbf9d0eb560d748d7 | |
parent | f1ce055769e5cc20fed70a434c0bbe25fa883acb [diff] |
Fix A2DP play when sample rate gets changed Playing a 48KHz wav file immediately after playing a 44.1K file (or vice-versa) with aplay will fail. After this failure no a2dp stream will play. The problem is that after determining the current avdtp stream doesn't match the new configuration the stream is closed and a reconfiguration is attempted but fails because setup->rsep is NULL. This patch below fixes the reconfiguration.