diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-05-03 23:48:06 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-05-03 23:48:06 +0000 |
commit | 6c118b8f8965a5fbb602ad556b584f6f8c0c26c0 (patch) | |
tree | 925941099ee1d4be16a50a240397e639061ff878 /mixlib/xmix_vm.c | |
parent | 49083add823f626a3f0d3b121491e0e66aacbe7c (diff) | |
download | mdk-6c118b8f8965a5fbb602ad556b584f6f8c0c26c0.tar.gz mdk-6c118b8f8965a5fbb602ad556b584f6f8c0c26c0.tar.bz2 |
new devices are created by a (possibly externally provided) factory
Diffstat (limited to 'mixlib/xmix_vm.c')
-rw-r--r-- | mixlib/xmix_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mixlib/xmix_vm.c b/mixlib/xmix_vm.c index e614cb4..c810a71 100644 --- a/mixlib/xmix_vm.c +++ b/mixlib/xmix_vm.c @@ -52,7 +52,7 @@ get_dev_ (mix_vm_t *vm, mix_fspec_t type) { if (type >= BD_NO_) return NULL; if (vm->devices[type] == NULL) - vm->devices[type] = mix_device_new (type); + vm->devices[type] = vm->factory (type); return vm->devices[type]; } |