Fri Jan 27 13:52:14 2006

Ticket #1613

GstreamerPlayer can't play on alsa device after playing on oss device


Priority: normal Reporter: fgerlits
Severity: minor Assigned to: maroy
Component: scheduler server Status: new
Version: 1.0 Resolution:  
Milestone: 1.1.x Keywords:  

Description by fgerlits:

The following code:

player->setAudioDevice("/dev/dsp");
player->open("file.mp3");
player->start();
... wait to finish ...
player->close();
player->setAudioDevice("hw:0,0");
player->open("file.mp3");
player->start();
... wait to finish ...
player->close();

causes this error:

gstreamer error: Device "hw:0,0" does not exist.

If I omit the first close(), then it works. Am I not supposed to call close() here?

Attachments

Changelog

Fri Jan 27 13:52:52 2006: Modified by fgerlits

    See the test case [1889].

    Fri Jan 27 20:10:14 2006: Modified by fgerlits

    • description changed.

    Add/Change #1613 (GstreamerPlayer can't play on alsa device after playing on oss device)




    Change Properties






    Action