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

AESinkALSA: Use the sink in blocking fashion #3563

Merged
merged 1 commit into from Nov 5, 2013
Merged

Conversation

fritsch
Copy link
Member

@fritsch fritsch commented Nov 4, 2013

We want to use the Alsa Sink in a blocking fashion. This remove snd_pcm_available and therefore also the need of snd_pcm_wait as snd_pcm_writei cares for this behaviour.

ActiveAE design allows this. This should care for underruns and make adding packages more failsafe also when CPU is fully loaded.

@@ -516,28 +516,7 @@ unsigned int CAESinkALSA::AddPackets(uint8_t *data, unsigned int frames, bool ha
CLog::Log(LOGDEBUG, "CAESinkALSA - the grAEken is hunger, feed it (I am the downmost fallback - fix your code)");

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@FernetMenta
Copy link
Contributor

In case there are no negative reports from testers, I'd say inject. Please send a pr for the cleanup.

fritsch added a commit that referenced this pull request Nov 5, 2013
AESinkALSA: Use the sink in blocking fashion
@fritsch fritsch merged commit e4068f9 into xbmc:master Nov 5, 2013
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