AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

BASS_ChannelIsActive

Ein Thema von Nils_13 · begonnen am 11. Feb 2006 · letzter Beitrag vom 11. Feb 2006
Antwort Antwort
Nils_13

Registriert seit: 15. Nov 2004
2.647 Beiträge
 
#1

Re: BASS_ChannelIsActive

  Alt 11. Feb 2006, 11:21
@alcaeus: Die If-Abfrage muss sein.
@Daniel:
Genau das läuft nicht, muss aber unbedingt laufen, ich muss überprüfen, ob gerade abgespielt wird.
Falls ich dich richtig verstanden habe:
Zitat:
Checks if a sample, stream, or MOD music is active (playing) or stalled. Can also check if a recording is in progress.

DWORD WINAPI BASS_ChannelIsActive(
DWORD handle
);


Parameters
handle The channel handle... a HCHANNEL / HMUSIC / HSTREAM / HRECORD handle.


Return value
The return value is one of the folowing.
BASS_ACTIVE_STOPPED The channel is not active, or handle is not a valid channel.
BASS_ACTIVE_PLAYING The channel is playing (or recording).
BASS_ACTIVE_PAUSED The channel is paused.
BASS_ACTIVE_STALLED Playback of the stream has been stalled due to there not being enough sample data to continue playing. The playback will automatically resume once there's sufficient data to do so.


Remarks
When using this function with a decoding channel, BASS_ACTIVE_PLAYING will be returned while there is still data to decode. Once the end has been reached, BASS_ACTIVE_STOPPED will be returned. BASS_ACTIVE_STALLED is never returned for decoding channels - you can tell a decoding channel is stalled if BASS_ChannelGetData returns less data than requested, and this function still returns BASS_ACTIVE_PLAYING.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:20 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz