Skip to contentSkip to conversation

reeintrant

DISCUSSION Frank Uepping 2 participants 2 messages Feb 18, 2002 – Feb 25, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
is the ALSA libAPI0.5 reeintrant/thread-save?
I want to develop an multi-threaded application that does playbacking and recording in separate threads.
I determined from the documentation that I have two possibilities to achieve this:
1.) Playbacking/recording on a single handle (mode PLAYBACK|CAPTURE). 2.) Playbacking/recording on separte handles.
What is cheaper?

Regards
FAU

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#1 lore raw

At Mon, 18 Feb 2002 22:43:24 +0100,

Quoted 3 lines · Frank Uepping

Hi,
is the ALSA libAPI0.5 reeintrant/thread-save?

yes, it should be.

Quoted 6 lines

I want to develop an multi-threaded application that does playbacking and recording in separate threads.
I determined from the documentation that I have two possibilities to achieve this:
1.) Playbacking/recording on a single handle (mode PLAYBACK|CAPTURE). 2.) Playbacking/recording on separte handles.
What is cheaper?

ALSA supports only a uni-direction per handle, although on alsa 0.5.x api it looks like bi-directional.

anyway, i recommend you to use ALSA 0.9.0 if you start a project from now on. ALSA 0.5.x is no longer developed.

ciao,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel