Removed instantiation restrictions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2921 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,11 +45,10 @@ status_t AudioMixerAddon::GetFlavorAt(
|
|||||||
flavor_info* fInfo = new flavor_info;
|
flavor_info* fInfo = new flavor_info;
|
||||||
fInfo->internal_id = n;
|
fInfo->internal_id = n;
|
||||||
fInfo->name = "AudioMixer";
|
fInfo->name = "AudioMixer";
|
||||||
fInfo->info =
|
fInfo->info = "AudioMixer media addon\n";
|
||||||
"AudioMixer media addon\n";
|
|
||||||
fInfo->kinds = B_BUFFER_PRODUCER | B_BUFFER_CONSUMER | B_SYSTEM_MIXER | B_CONTROLLABLE;
|
fInfo->kinds = B_BUFFER_PRODUCER | B_BUFFER_CONSUMER | B_SYSTEM_MIXER | B_CONTROLLABLE;
|
||||||
fInfo->flavor_flags = B_FLAVOR_IS_LOCAL;
|
fInfo->flavor_flags = 0; // 0 = global or local instantiation allowed, no restrictions
|
||||||
fInfo->possible_count = 500;
|
fInfo->possible_count = 0; // 0 = infinite
|
||||||
|
|
||||||
media_format* fFormat = new media_format;
|
media_format* fFormat = new media_format;
|
||||||
fFormat->type = B_MEDIA_RAW_AUDIO;
|
fFormat->type = B_MEDIA_RAW_AUDIO;
|
||||||
|
|||||||
Reference in New Issue
Block a user