Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put audio device check last in the startup flow. #421

Merged
merged 2 commits into from Dec 6, 2014

Conversation

ywwg
Copy link
Member

@ywwg ywwg commented Dec 6, 2014

An alternative solution to https://bugs.launchpad.net/mixxx/+bug/1315146. Make sure startup is complete before checking for lack of audio devices.

setupDevices = m_pSoundManager->setupDevices();
numDevices = m_pSoundManager->getConfig().getOutputs().count();
}

// Load tracks in args.qlMusicFiles (command line arguments) into player
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also move the deck loading code here? They rely on a working device callback.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, thx

@rryan
Copy link
Member

rryan commented Dec 6, 2014

LGTM

ywwg added a commit that referenced this pull request Dec 6, 2014
Put audio device check last in the startup flow.
@ywwg ywwg merged commit f8d12da into mixxxdj:master Dec 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants