Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
305018ec
Commit
305018ec
authored
Mar 14, 2009
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(alsa_configure): Remove call do deprecated
_pcm_sw_params_set_xfer_align.
parent
4a02423f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/ChangeLog
src/ChangeLog
+5
-0
src/sound.c
src/sound.c
+0
-6
No files found.
src/ChangeLog
View file @
305018ec
2009-03-14 Jan Djärv <jan.h.d@swipnet.se>
* sound.c (alsa_configure): Remove call to deprecated
snd_pcm_sw_params_set_xfer_align.
2009-03-14 Stephen Berman <stephen.berman@gmx.net>
* gtkutil.c (xg_tool_bar_callback): Set focus back to the frame
...
...
src/sound.c
View file @
305018ec
...
...
@@ -1066,12 +1066,6 @@ alsa_configure (sd)
if
(
err
<
0
)
alsa_sound_perror
(
"Unable to set avail min for playback"
,
err
);
/* Align all transfers to 1 period */
err
=
snd_pcm_sw_params_set_xfer_align
(
p
->
handle
,
p
->
swparams
,
p
->
period_size
);
if
(
err
<
0
)
alsa_sound_perror
(
"Unable to set transfer align for playback"
,
err
);
err
=
snd_pcm_sw_params
(
p
->
handle
,
p
->
swparams
);
if
(
err
<
0
)
alsa_sound_perror
(
"Unable to set sw params for playback
\n
"
,
err
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment