]> git.alsa-project.org Git - alsa-gobject.git/commit
seq: query: use GFileError to report error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 02:54:07 +0000 (11:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 02:54:07 +0000 (11:54 +0900)
commit7a72e7854e1433920794753e8be728b5a81455a2
tree13f51aa0dafd44c3965c7a1fdc24f910cc17169f
parentd6d558647b32b25a36f9d74b8bb2f751a171d376
seq: query: use GFileError to report error

In design of ALSA sequencer, sequencer character device is not
corresponding to each substance in ALSA Sequencer. It's a kind of
interface to query and operate. Applications adds user client
and operates it to use its services. Nevertheless, the interface
has some functionality without adding the user instances.

For the functionality, this library has global functions. The functions
are not relevant to the user instance, therefore it's not reasonable to
use error domain specific to the user instance.

This commit uses GFileError to report errors in the global functions.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/query.c